Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [8829d6ecc6b3e1a36a41decaf8237f6024be2c06] by Pratik Naik

Revision 8829d6ecc6b3e1a36a41decaf8237f6024be2c06, committed by Pratik Naik · December 27th, 2009 @ 07:47 AM

Make Model.find_by* and Model.find_all_by* use relations and remove dynamic method caching
http://github.com/rails/rails/commit/8829d6ecc6b3e1a36a41decaf8237f...

4 changed files

  • M activerecord/lib/active_record/base.rb
  • M activerecord/lib/active_record/named_scope.rb
  • M activerecord/lib/active_record/relation.rb
  • M activerecord/test/cases/finder_test.rb