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 [9e5545cd662a7ffdf93eb176c25f83170a6a388e] by Marcelo Giorgi

Revision 9e5545cd662a7ffdf93eb176c25f83170a6a388e, committed by Marcelo Giorgi · September 28th, 2010 @ 07:23 PM

Set attributes properly for model built from association with conditions [#5562 state:resolved]

Signed-off-by: Santiago Pastorino santiago@wyeworks.com
http://github.com/rails/rails/commit/9e5545cd662a7ffdf93eb176c25f83...

8 changed files

  • M activerecord/lib/active_record/base.rb
  • M activerecord/lib/active_record/relation.rb
  • M activerecord/test/cases/associations/belongs_to_associations_test.rb
  • M activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/cases/associations/has_many_through_associations_test.rb
  • M activerecord/test/cases/associations/has_one_associations_test.rb
  • M activerecord/test/cases/method_scoping_test.rb