diff options
author | schneems <richard.schneeman@gmail.com> | 2016-01-08 10:05:38 -0600 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2016-01-08 10:05:38 -0600 |
commit | f6628adc11e2e57db75030fca9bae035be5cd95b (patch) | |
tree | a9477acbf19d393ed6cc46bc141466fae3b330ac /activerecord/lib | |
parent | de2cb20117af68cef4126d8998cc63e178c58187 (diff) | |
download | rails-f6628adc11e2e57db75030fca9bae035be5cd95b.tar.gz rails-f6628adc11e2e57db75030fca9bae035be5cd95b.tar.bz2 rails-f6628adc11e2e57db75030fca9bae035be5cd95b.zip |
Fix kwarg to not have circular dependency
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index cd1bda3324..e06a581094 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -164,7 +164,7 @@ module ActiveRecord end class EnvironmentMismatchError < ActiveRecordError - def initialize(current: current, stored: stored) + def initialize(current: , stored: ) msg = "You are attempting to modify a database that was last run in #{ stored } environment.\n" msg << "You are running in #{ current } environment." msg << "if you are sure you want to continue, run the same command with the environment variable\n" |