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

Revision bf24fe810c0591619ac01cc88d8a40423895d9d7, committed by Jon Leighton · January 16th, 2011 @ 09:43 PM

belongs_to records should be initialized within the association scope
https://github.com/rails/rails/commit/bf24fe810c0591619ac01cc88d8a4...

3 changed files

  • M activerecord/lib/active_record/associations/belongs_to_association.rb
  • M activerecord/test/cases/associations/belongs_to_associations_test.rb
  • M activerecord/test/models/company.rb