diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-19 17:51:29 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-19 17:51:44 +0200 |
commit | 312f43324159fbcd8749cd331ed7d6500a714a83 (patch) | |
tree | 750659e6006e58f2941c09ffdd3011e904c63b26 /activerecord | |
parent | d430db9fd407fd6aee25ca13538d8988dc7ee297 (diff) | |
download | rails-312f43324159fbcd8749cd331ed7d6500a714a83.tar.gz rails-312f43324159fbcd8749cd331ed7d6500a714a83.tar.bz2 rails-312f43324159fbcd8749cd331ed7d6500a714a83.zip |
Clear DescendantsTracker on each request.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/railtie.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railtie.rb b/activerecord/lib/active_record/railtie.rb index a32fb7d399..0386fd4651 100644 --- a/activerecord/lib/active_record/railtie.rb +++ b/activerecord/lib/active_record/railtie.rb @@ -68,7 +68,6 @@ module ActiveRecord unless app.config.cache_classes ActiveSupport.on_load(:active_record) do ActionDispatch::Callbacks.after do - ActiveRecord::Base.reset_subclasses ActiveRecord::Base.clear_reloadable_connections! end end |