This project is archived and is in readonly mode.
Changeset [8be3e09fcfb26c181f458e8d3e333b3987bd5c4f] by Mislav Marohnić
April 17th, 2010 @ 02:13 AM
fix reset_counters
to work even with complex class
names
e.g. it guesses that a belongs_to association to
Namespace::MyModel is
named "my_model", unlike before where it would look up an
association
named "namespace::mymodel" and fail.
http://github.com/rails/rails/commit/8be3e09fcfb26c181f458e8d3e333b...
Committed by Mislav Marohnić
- M activerecord/lib/active_record/base.rb
- M activerecord/test/cases/counter_cache_test.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>