diff options
author | Mislav Marohnić <mislav.marohnic@gmail.com> | 2010-04-17 02:01:38 +0200 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2010-06-03 23:32:10 +1000 |
commit | e6b0ea3f8a252b6795156ad8c0816198f7c18cf9 (patch) | |
tree | 4994e166c01b660a44e3db476439388b6703b5d2 /railties/lib/rails/tasks/framework.rake | |
parent | 4ab47f542026f7301a0cf38d7d89ee6423207021 (diff) | |
download | rails-e6b0ea3f8a252b6795156ad8c0816198f7c18cf9.tar.gz rails-e6b0ea3f8a252b6795156ad8c0816198f7c18cf9.tar.bz2 rails-e6b0ea3f8a252b6795156ad8c0816198f7c18cf9.zip |
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.
Diffstat (limited to 'railties/lib/rails/tasks/framework.rake')
0 files changed, 0 insertions, 0 deletions