diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-05-11 23:49:22 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-05-11 23:49:22 -0300 |
commit | 032c0fa4b8ab2cea7b696826edad3df0cf6f9b97 (patch) | |
tree | 68806f15279342f0daecb07ee65605d52413b5b6 /activerecord/lib/active_record/schema.rb | |
parent | 51157c9b46cb200b45554700dae3b4026f268b7f (diff) | |
parent | 443f8dd5cdb273327a8b03a97c431de67c15ace6 (diff) | |
download | rails-032c0fa4b8ab2cea7b696826edad3df0cf6f9b97.tar.gz rails-032c0fa4b8ab2cea7b696826edad3df0cf6f9b97.tar.bz2 rails-032c0fa4b8ab2cea7b696826edad3df0cf6f9b97.zip |
Merge pull request #10503 from kstevens715/master
Avoid method missing when calling assume_migrated_upto_version (master)
Diffstat (limited to 'activerecord/lib/active_record/schema.rb')
-rw-r--r-- | activerecord/lib/active_record/schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/schema.rb b/activerecord/lib/active_record/schema.rb index 3259dbbd80..4bfd0167a4 100644 --- a/activerecord/lib/active_record/schema.rb +++ b/activerecord/lib/active_record/schema.rb @@ -43,7 +43,7 @@ module ActiveRecord unless info[:version].blank? initialize_schema_migrations_table - assume_migrated_upto_version(info[:version], migrations_paths) + connection.assume_migrated_upto_version(info[:version], migrations_paths) end end |