From 905b7df1fac8332547b9eb7fc4d5b083c6fc1031 Mon Sep 17 00:00:00 2001 From: Narihiro Nakamura Date: Tue, 26 Feb 2013 14:39:26 +0900 Subject: Backported #7072 to 3-2-stable. Use database value for uniqueness validation scope. --- activerecord/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activerecord/CHANGELOG.md') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index db4820b3d2..738eddb406 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,4 +1,10 @@ ## unreleased ## +* Fixes issue with overrding ActiveRecord reader methods with a + composed object and using that attribute as the scope of a + validates_uniqueness_of validation. + Backport of #7072 + + *Peter Brown* * Sqlite now preserves custom primary keys when copying or altering tables. Fixes #9367. -- cgit v1.2.3