aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-11-23 10:59:58 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-11-23 14:29:04 -0800
commit4c1f76eaab670ffa95d185374ea91f0d2e2818c7 (patch)
treeca76347f2d516da97b96cd6ebce7a8ffebcc094a /activerecord/lib/active_record
parent035d00b665a645a12ecd1f9c70dba06bbd4f6201 (diff)
downloadrails-4c1f76eaab670ffa95d185374ea91f0d2e2818c7.tar.gz
rails-4c1f76eaab670ffa95d185374ea91f0d2e2818c7.tar.bz2
rails-4c1f76eaab670ffa95d185374ea91f0d2e2818c7.zip
initialize_clone can go away
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/base.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index be8ebd4d59..6f0e71cc7b 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -1614,11 +1614,6 @@ MSG
self
end
- def initialize_clone(other)
- super
- @persisted = other.persisted?
- end
-
# Returns +true+ if the record is read only. Records loaded through joins with piggy-back
# attributes will be marked as read only since they cannot be saved.
def readonly?