This project is archived and is in readonly mode.

Changeset [63c73dd0214188dc91442db538e141e30ec3b1b9] 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...

Committed by Jon Leighton

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>