1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Improve CHANGELOG entry [ci kip]

This commit is contained in:
Rafael Mendonça França 2013-05-11 23:51:27 -03:00
parent 032c0fa4b8
commit d9e8ec61a4

View file

@ -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*