This project is archived and is in readonly mode.
Changeset [fbd1d306b95cc2efb6422e12d26d5818a3a42343] by Neeraj Singh
Revision fbd1d306b95cc2efb6422e12d26d5818a3a42343,
committed by Neeraj Singh
· September 27th, 2010 @ 06:49 PM
Three performance improvements:
-
for simple cases like User.last and User.order('name desc').last no need to perform Array#join operation.
-
Instead of performing String#blank? do Array#empty?
-
no need to create variable relation http://github.com/rails/rails/commit/fbd1d306b95cc2efb6422e12d26d58...
1 changed file
-
M
activerecord/lib/active_record/relation/query_methods.rb