diff options
author | José Valim <jose.valim@gmail.com> | 2012-06-10 11:38:37 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-06-10 11:38:37 +0200 |
commit | 03f2249153ae4d2078646e6796d8b9e5ef747fba (patch) | |
tree | 680e70837788456b717524fd2f046faa669e2ca0 /activerecord/lib | |
parent | 4845c0685aa3983b4685d4afe141ac5d398521bc (diff) | |
download | rails-03f2249153ae4d2078646e6796d8b9e5ef747fba.tar.gz rails-03f2249153ae4d2078646e6796d8b9e5ef747fba.tar.bz2 rails-03f2249153ae4d2078646e6796d8b9e5ef747fba.zip |
Use . instead of :: for class methods, add CHANGELOG entries
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: |