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/lib/active_record/base.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 5a7743b808..5bd1721439 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -553,7 +553,6 @@ module ActiveRecord #:nodoc: @new_record = true ensure_proper_type - populate_with_current_scope_attributes super end -- cgit v1.2.3