aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2010-09-09 16:49:44 -0400
committerAaron Patterson <aaron.patterson@gmail.com>2010-09-27 10:49:49 -0700
commitfbd1d306b95cc2efb6422e12d26d5818a3a42343 (patch)
tree50187de29ec641831a05715ace1f1ac5cdc5ad5c /activesupport/lib
parente3d6434dd9ef052ce703b36f968eb9f6fe1f0a11 (diff)
downloadrails-fbd1d306b95cc2efb6422e12d26d5818a3a42343.tar.gz
rails-fbd1d306b95cc2efb6422e12d26d5818a3a42343.tar.bz2
rails-fbd1d306b95cc2efb6422e12d26d5818a3a42343.zip
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
Diffstat (limited to 'activesupport/lib')
0 files changed, 0 insertions, 0 deletions