diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-08-14 15:20:13 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-08-14 15:20:13 +0200 |
commit | e1d0cd7c9fbe9f48aef8f0caf07c998c2317d2ef (patch) | |
tree | 0cfe2c444958208546a6a2850e80613defb238f4 | |
parent | 9c0b4081765093096bee06ff30809f1cb7076d78 (diff) | |
parent | cdbed54fa999aacf388899b761de84d91fdb5a7e (diff) | |
download | rails-e1d0cd7c9fbe9f48aef8f0caf07c998c2317d2ef.tar.gz rails-e1d0cd7c9fbe9f48aef8f0caf07c998c2317d2ef.tar.bz2 rails-e1d0cd7c9fbe9f48aef8f0caf07c998c2317d2ef.zip |
Merge pull request #21236 from jonatack/fix-middleware-deprecation-messages
Fix middleware deprecation message. Related to #21172.
-rw-r--r-- | activerecord/lib/active_record/railtie.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railtie.rb b/activerecord/lib/active_record/railtie.rb index 459d6256fa..6dd54f9262 100644 --- a/activerecord/lib/active_record/railtie.rb +++ b/activerecord/lib/active_record/railtie.rb @@ -79,7 +79,7 @@ module ActiveRecord initializer "active_record.migration_error" do if config.active_record.delete(:migration_error) == :page_load config.app_middleware.insert_after ::ActionDispatch::Callbacks, - "ActiveRecord::Migration::CheckPending" + ActiveRecord::Migration::CheckPending end end |