aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorMislav Marohnić <mislav.marohnic@gmail.com>2010-04-17 02:01:38 +0200
committerMikel Lindsaar <raasdnil@gmail.com>2010-06-03 23:32:10 +1000
commite6b0ea3f8a252b6795156ad8c0816198f7c18cf9 (patch)
tree4994e166c01b660a44e3db476439388b6703b5d2 /actionpack/lib
parent4ab47f542026f7301a0cf38d7d89ee6423207021 (diff)
downloadrails-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 'actionpack/lib')
0 files changed, 0 insertions, 0 deletions