Unraveling the Mysteries of where.not in Rails
Explains the subtle but important difference between using combined and separate where.not clauses in Ruby on Rails ActiveRecord queries.
Explains the subtle but important difference between using combined and separate where.not clauses in Ruby on Rails ActiveRecord queries.
Identifies three common ActiveRecord usage mistakes in Rails that cause unnecessary SQL queries and slow down application performance.
A guide to displaying generated SQL queries in the Rails 3 console by configuring ActiveRecord's logger to output to STDOUT.