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

Revision 9bc80f4dd149ee70aa05c352bdd3fec46d22871a, committed by Gabe da Silveira · August 10th, 2009 @ 05:31 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