diff options
-rw-r--r-- | railties/lib/dispatcher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/dispatcher.rb b/railties/lib/dispatcher.rb index eab8b3a1d8..0d7ca34ea4 100644 --- a/railties/lib/dispatcher.rb +++ b/railties/lib/dispatcher.rb @@ -52,7 +52,7 @@ class Dispatcher def reset_application! Dependencies.clear ActiveRecord::Base.reset_subclasses - Class.remove_classes(*Reloadable.reloadable_classes) + Class.remove_class(*Reloadable.reloadable_classes) end private |