diff options
author | Dylan Thacker-Smith <Dylan.Smith@shopify.com> | 2013-12-17 16:02:52 -0500 |
---|---|---|
committer | Dylan Thacker-Smith <Dylan.Smith@shopify.com> | 2014-01-06 10:46:35 -0500 |
commit | 06ace1e2b5cdccf67ff969ff0d355fd87f46dcf0 (patch) | |
tree | aa5eaa81b94577e3d2fd5aed435c29c642bba748 /activerecord/lib | |
parent | f2b80a41b5c163b32dfdd0fa797466543c6ec0e9 (diff) | |
download | rails-06ace1e2b5cdccf67ff969ff0d355fd87f46dcf0.tar.gz rails-06ace1e2b5cdccf67ff969ff0d355fd87f46dcf0.tar.bz2 rails-06ace1e2b5cdccf67ff969ff0d355fd87f46dcf0.zip |
activerecord: Initialize Migration with version from MigrationProxy.
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 fc84b907a5..b57da73969 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -759,7 +759,7 @@ module ActiveRecord def load_migration require(File.expand_path(filename)) - name.constantize.new + name.constantize.new(name, version) end end |