diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-09-09 16:49:44 -0400 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-27 10:49:49 -0700 |
commit | fbd1d306b95cc2efb6422e12d26d5818a3a42343 (patch) | |
tree | 50187de29ec641831a05715ace1f1ac5cdc5ad5c /actionmailer/MIT-LICENSE | |
parent | e3d6434dd9ef052ce703b36f968eb9f6fe1f0a11 (diff) | |
download | rails-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 'actionmailer/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions