diff options
author | Claudio Ortolina <claudio@new-bamboo.co.uk> | 2015-01-11 12:45:08 +0000 |
---|---|---|
committer | Claudio Ortolina <claudio@new-bamboo.co.uk> | 2015-01-31 14:25:00 +0000 |
commit | ff5fcf65ec1f5963e5168786277eb4437c065524 (patch) | |
tree | 8223020eebdfa698f7dd935c20bea00c219b1242 /actionpack/test/dispatch/middleware_stack_test.rb | |
parent | 7bb620869725ad6de603f6a5393ee17df13aa96c (diff) | |
download | rails-ff5fcf65ec1f5963e5168786277eb4437c065524.tar.gz rails-ff5fcf65ec1f5963e5168786277eb4437c065524.tar.bz2 rails-ff5fcf65ec1f5963e5168786277eb4437c065524.zip |
ActionMailer::Base can unregister interceptor(s).
One or multiple mail interceptors can be unregistered using
`ActionMailer::Base.unregister_interceptors` or
`ActionMailer::Base.unregister_interceptor`.
For preview interceptors, it's possible to use
`ActionMailer::Base.unregister_preview_interceptors` or
`ActionMailer::Base.unregister_preview_interceptor`.
Refactors logic to constantize a string/symbol into separate method.
Diffstat (limited to 'actionpack/test/dispatch/middleware_stack_test.rb')
0 files changed, 0 insertions, 0 deletions