diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-07-04 15:04:31 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-07-04 15:04:31 +0200 |
commit | 8b5439cdf9c0d8ab8acf4f0cbddfa2388c2ac444 (patch) | |
tree | 87092e2f44e43d3e17a2510ac61507364f957110 /activerecord | |
parent | 1bf5fc293d06d8bf8ce0c6a01a6c97fb395b5ee8 (diff) | |
download | rails-8b5439cdf9c0d8ab8acf4f0cbddfa2388c2ac444.tar.gz rails-8b5439cdf9c0d8ab8acf4f0cbddfa2388c2ac444.tar.bz2 rails-8b5439cdf9c0d8ab8acf4f0cbddfa2388c2ac444.zip |
remove leftover if after deprecation removal (68563128).
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 248ce5753b..33ee129fc6 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -866,10 +866,7 @@ module ActiveRecord @direction = direction @target_version = target_version @migrated_versions = nil - - if Array(migrations).grep(String).empty? - @migrations = migrations - end + @migrations = migrations validate(@migrations) |