diff options
author | Jamis Buck <jamis@37signals.com> | 2005-06-24 11:57:40 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2005-06-24 11:57:40 +0000 |
commit | 0d8455c1a285c6d58fc7a3180f5c72d9c3c42fa1 (patch) | |
tree | 7568f688004d2743071e3a2a40c31c71160b6bad /railties/lib | |
parent | 0c3298f2f205dac516216a1d48dcc21112312c2d (diff) | |
download | rails-0d8455c1a285c6d58fc7a3180f5c72d9c3c42fa1.tar.gz rails-0d8455c1a285c6d58fc7a3180f5c72d9c3c42fa1.tar.bz2 rails-0d8455c1a285c6d58fc7a3180f5c72d9c3c42fa1.zip |
ActionMailer::Base subclasses are reloaded with other rails components #1262
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/dispatcher.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/dispatcher.rb b/railties/lib/dispatcher.rb index b2f9650e65..1455168ba9 100644 --- a/railties/lib/dispatcher.rb +++ b/railties/lib/dispatcher.rb @@ -49,6 +49,7 @@ class Dispatcher Controllers.clear! Dependencies.clear Dependencies.remove_subclasses_for(ActiveRecord::Base, ActiveRecord::Observer, ActionController::Base) + Dependencies.remove_subclasses_for(ActionMailer::Base) if defined?(ActionMailer::Base) end Breakpoint.deactivate_drb if defined?(BREAKPOINT_SERVER_PORT) |