diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-05-11 23:51:27 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-05-11 23:51:27 -0300 |
commit | d9e8ec61a4988f3836d8c6aa830b6ffd6a3a940a (patch) | |
tree | bac7bf3561d5fa692c2fd7df054e6479e1480be6 /activerecord | |
parent | 032c0fa4b8ab2cea7b696826edad3df0cf6f9b97 (diff) | |
download | rails-d9e8ec61a4988f3836d8c6aa830b6ffd6a3a940a.tar.gz rails-d9e8ec61a4988f3836d8c6aa830b6ffd6a3a940a.tar.bz2 rails-d9e8ec61a4988f3836d8c6aa830b6ffd6a3a940a.zip |
Improve CHANGELOG entry [ci kip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG.md | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 6426730a8d..789e7f41f9 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,15 +1,19 @@ -* Fix pending migrations error when loading schema and ActiveRecord::Base.table_name_prefix is not blank. +* 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`. + 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. +* Method `read_attribute_before_type_cast` should accept input as symbol. *Neeraj Singh* |