From 55a1765942bc3d78ba5d449b5daf17a3c902e57c Mon Sep 17 00:00:00 2001 From: Hiroshige Umino Date: Tue, 26 Feb 2013 11:32:04 +0900 Subject: Do not override attributes on `dup` by default scopes --- activerecord/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activerecord/CHANGELOG.md') 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. -- cgit v1.2.3