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

Revision 63c73dd0214188dc91442db538e141e30ec3b1b9, committed by Jon Leighton · January 30th, 2011 @ 11:56 AM

We shouldn't be using scoped.scoping { ... } to build associated records, as this can affect validations/callbacks/etc inside the record itself [#6252 state:resolved]
https://github.com/rails/rails/commit/63c73dd0214188dc91442db538e14...

6 changed files

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/lib/active_record/associations/singular_association.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/cases/associations/has_one_associations_test.rb
  • M activerecord/test/models/bulb.rb
  • M activerecord/test/models/pirate.rb