diff options
author | OZAWA Sakuro <sakuro@2238club.org> | 2013-03-09 15:37:26 +0900 |
---|---|---|
committer | OZAWA Sakuro <sakuro@2238club.org> | 2013-03-09 15:38:02 +0900 |
commit | c3a26c592ca99e92056ae46328ca69336e400882 (patch) | |
tree | 466a123035f20af6d90c730cde81fce4918a2af3 /activerecord/CHANGELOG.md | |
parent | 11dd15a5c2bd08f399793f45c04075c2fbb20861 (diff) | |
download | rails-c3a26c592ca99e92056ae46328ca69336e400882.tar.gz rails-c3a26c592ca99e92056ae46328ca69336e400882.tar.bz2 rails-c3a26c592ca99e92056ae46328ca69336e400882.zip |
Preserve magic comments and content encoding of copied migrations.
During insertion of "# This migration comes from ... " comment at the beginning of
a migration, presence of magic comment was not considered.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 63d5bbb9ee..49f7b03464 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,9 @@ ## Rails 4.0.0 (unreleased) ## +* When copying migrations, preserve their magic comments and content encoding. + + *OZAWA Sakuro* + * Fix ActiveRecord `subclass_from_attrs` when `eager_load` is false. It cannot find subclass because all classes are loaded automatically when it needs. |