initialize_clone can go away

This commit is contained in:
Aaron Patterson
2010-11-23 10:59:58 -08:00
parent 035d00b665
commit 4c1f76eaab

View File

@@ -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?