diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-07-04 09:49:03 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-07-04 09:49:03 +0200 |
commit | 685631285f21e2f63b1ecbdb1495f25c97b6bf41 (patch) | |
tree | e2edf72e84098217a42be4f8dab115d038292b5a /activerecord/lib | |
parent | c95911023c4e388faf1065ac46cae0e2bb1914eb (diff) | |
download | rails-685631285f21e2f63b1ecbdb1495f25c97b6bf41.tar.gz rails-685631285f21e2f63b1ecbdb1495f25c97b6bf41.tar.bz2 rails-685631285f21e2f63b1ecbdb1495f25c97b6bf41.zip |
Remove deprecated String constructor from `ActiveRecord::Migrator`.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index e96c347f6f..d3f33b907a 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -869,9 +869,6 @@ module ActiveRecord if Array(migrations).grep(String).empty? @migrations = migrations - else - ActiveSupport::Deprecation.warn "instantiate this class with a list of migrations" - @migrations = self.class.migrations(migrations) end validate(@migrations) |