This project is archived and is in readonly mode.

Changeset [1e53404fe9c39ad0849894d73e431315be8c0bf0] by Neeraj Singh

July 8th, 2010 @ 10:24 PM

reset_counter should work with non-traditional belongs_to and polymorphic belongs_to

[#4984 state:resolved]

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/1e53404fe9c39ad0849894d73e4313...

Committed by Neeraj Singh

  • A activerecord/test/fixtures/cars.yml
  • A activerecord/test/models/car.rb
  • A activerecord/test/models/engine.rb
  • A activerecord/test/models/wheel.rb
  • M activerecord/lib/active_record/counter_cache.rb
  • M activerecord/test/cases/counter_cache_test.rb
  • M activerecord/test/schema/schema.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>