aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/observing_test.rb
diff options
context:
space:
mode:
authorMislav Marohnić <mislav.marohnic@gmail.com>2010-04-17 02:01:38 +0200
committerMislav Marohnić <mislav.marohnic@gmail.com>2010-05-24 11:44:53 +0200
commitbc84bd17d1f981ca4899f336f6b94e552bc6a058 (patch)
tree613b930647ffca0b58165542567682e8e8ba13b7 /activemodel/test/cases/observing_test.rb
parentbfca7d744d6172fc6c0bc05beaff2abe260a4f60 (diff)
downloadrails-bc84bd17d1f981ca4899f336f6b94e552bc6a058.tar.gz
rails-bc84bd17d1f981ca4899f336f6b94e552bc6a058.tar.bz2
rails-bc84bd17d1f981ca4899f336f6b94e552bc6a058.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 'activemodel/test/cases/observing_test.rb')
0 files changed, 0 insertions, 0 deletions