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/lib/active_record | |
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/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/base.rb | 1 |
1 files changed, 0 insertions, 1 deletions
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 |