Please sign in to comment.
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
- Loading branch information...
Showing with 9 additions and 10 deletions.