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/CHANGELOG.md | |
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/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index f7c1937eff..6426730a8d 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,14 @@ +* Fix pending migrations error when loading schema and ActiveRecord::Base.table_name_prefix is not blank. + + Call assume_migrated_upto_version on connection to prevent it from first being picked up in method_missing. + In the base class, Migration, method_missing expects the argument to be a table name, and calls proper_table_name + on the arguments before sending to connection. If table_name_prefix or table_name_suffix is used, the schema + version changes to prefix_version_suffix, breaking `rake test:prepare`. + + Fixes #10411. + + *Kyle Stevens* + * Method read_attribute_before_type_cast should accept input as symbol. *Neeraj Singh* |