diff options
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index a0169203b0..084f0272b2 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -342,7 +342,7 @@ module ActiveRecord def call(env) ActiveRecord::Migration.check_pending! - status, headers, body = @app.call(env) + @app.call(env) end end @@ -351,7 +351,7 @@ module ActiveRecord end def self.check_pending! - raise ActiveRecord::PendingMigrationError if ActiveRecord::Migrator::needs_migrations? + raise ActiveRecord::PendingMigrationError if ActiveRecord::Migrator.needs_migration? end def self.method_missing(name, *args, &block) # :nodoc: |