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 [e8ada11aac28f0850f0e485acacf34e7eb81aa19] by Jon Leighton

Revision e8ada11aac28f0850f0e485acacf34e7eb81aa19, committed by Jon Leighton · December 26th, 2010 @ 07:38 PM

Associations: DRY up the code which is generating conditions, and make it all use arel rather than SQL strings
https://github.com/rails/rails/commit/e8ada11aac28f0850f0e485acacf3...

7 changed files

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/lib/active_record/associations/association_proxy.rb
  • M activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
  • M activerecord/lib/active_record/associations/has_many_association.rb
  • M activerecord/lib/active_record/associations/has_one_association.rb
  • M activerecord/lib/active_record/associations/through_association_scope.rb
  • M activerecord/test/fixtures/companies.yml