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 [7e3364ac4634f7017305c4bc725710ab0e7ba4c2] by Gabe da Silveira

Revision 7e3364ac4634f7017305c4bc725710ab0e7ba4c2, committed 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...

4 changed files

  • 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