Activerecord

Improving Database performance and overcoming common N+1 issues in Active Record using includes, preload, eager_load, pluck, select, exists?

Improving Database performance and overcoming common N+1 issues in Active Record using includes, preload, eager_load, pluck, select, exists? and reducing number of overall queries

Using bind parameters in Active Record for SQL security and performance

Using bind parameters in Active Record for improved SQL security and performance