diff options
author | Jon Atack <jonnyatack@gmail.com> | 2015-08-14 14:58:56 +0200 |
---|---|---|
committer | Jon Atack <jonnyatack@gmail.com> | 2015-08-14 14:58:56 +0200 |
commit | cdbed54fa999aacf388899b761de84d91fdb5a7e (patch) | |
tree | 0cfe2c444958208546a6a2850e80613defb238f4 /activerecord | |
parent | 9c0b4081765093096bee06ff30809f1cb7076d78 (diff) | |
download | rails-cdbed54fa999aacf388899b761de84d91fdb5a7e.tar.gz rails-cdbed54fa999aacf388899b761de84d91fdb5a7e.tar.bz2 rails-cdbed54fa999aacf388899b761de84d91fdb5a7e.zip |
Fix middleware deprecation message. Related to #21172.
Diffstat (limited to 'activerecord')
-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 |