## Rails 4.0.0.beta1 (February 25, 2013) ##
+* Fix overriding of attributes by default_scope on `ActiveRecord::Base#dup`.
* Fixing issue #8345. Now throwing an error when one attempts to touch a
new object that has not yet been persisted. For instance:
+ def test_dup_with_default_scope
+ prev_default_scopes = Topic.default_scopes
+ Topic.default_scopes = [Topic.where(:approved => true)]
+ topic = Topic.new(:approved => false)
+ assert !topic.dup.approved?, "should not be overriden by default scopes"
+ Topic.default_scopes = prev_default_scopes