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

Revision cdfd013dd7953fc87038c73ecddbaa8cfe29a301, committed by Marcelo Giorgi · September 28th, 2010 @ 07:22 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/cdfd013dd7953fc87038c73ecddbaa...

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