diff options
author | Hiroshige Umino <hiroshige88@gmail.com> | 2013-02-26 11:32:04 +0900 |
---|---|---|
committer | Steve Klabnik <steve@steveklabnik.com> | 2013-02-26 11:08:50 -0800 |
commit | 55a1765942bc3d78ba5d449b5daf17a3c902e57c (patch) | |
tree | 561d698527541a063492720678322e72e93e4f10 /activerecord/CHANGELOG.md | |
parent | c90e24d08782d583286ccb21cc15f60fa9ed8367 (diff) | |
download | rails-55a1765942bc3d78ba5d449b5daf17a3c902e57c.tar.gz rails-55a1765942bc3d78ba5d449b5daf17a3c902e57c.tar.bz2 rails-55a1765942bc3d78ba5d449b5daf17a3c902e57c.zip |
Do not override attributes on `dup` by default scopes
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 bac7b358dc..338afb3991 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,9 @@ ## unreleased ## +* Fix overriding of attributes by default_scope on `ActiveRecord::Base#dup`. + + *Hiroshige UMINO* + * Fix issue with overriding Active Record reader methods with a composed object and using that attribute as the scope of a `uniqueness_of` validation. Backport #7072. |