From f6628adc11e2e57db75030fca9bae035be5cd95b Mon Sep 17 00:00:00 2001 From: schneems Date: Fri, 8 Jan 2016 10:05:38 -0600 Subject: Fix kwarg to not have circular dependency --- activerecord/lib/active_record/migration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3