This project is archived and is in readonly mode.

Changeset [7e3364ac4634f7017305c4bc725710ab0e7ba4c2] by Gabe da Silveira

August 10th, 2009 @ 05:18 AM

Fix that counter_cache breaks with has_many :dependent => :nullify.

[#1196 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

Committed by Gabe da Silveira

  • M activerecord/lib/active_record/associations/has_many_association.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/cases/associations/join_model_test.rb
  • M activerecord/test/fixtures/posts.yml

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>