diff options
author | Chris Barton <cbarton@inigral.com> | 2012-09-18 13:15:02 -0700 |
---|---|---|
committer | Chris Barton <cbarton@inigral.com> | 2012-09-18 13:15:02 -0700 |
commit | 4325bec1d46de4a7fbe094ae18e83648532e2ddf (patch) | |
tree | 4b8555f48ee22f38f3f4278e8329ca97f343b7b3 /activerecord/lib/active_record | |
parent | 29ebec702d0dc5ce2d760f61292460f77207c87e (diff) | |
download | rails-4325bec1d46de4a7fbe094ae18e83648532e2ddf.tar.gz rails-4325bec1d46de4a7fbe094ae18e83648532e2ddf.tar.bz2 rails-4325bec1d46de4a7fbe094ae18e83648532e2ddf.zip |
Making test accurately reflect what is going on in the schema migrations test
Diffstat (limited to 'activerecord/lib/active_record')
-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 e6686597b7..6420f81347 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -458,7 +458,7 @@ module ActiveRecord say_with_time "#{method}(#{arg_list})" do unless reverting? unless arguments.empty? || method == :execute - arguments[0] = Migrator.proper_table_name(arguments.first) + arguments[0] = Migrator.proper_table_name(arguments.first) unless method == :assume_migrated_upto_version arguments[1] = Migrator.proper_table_name(arguments.second) if method == :rename_table end end |