mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
initialize_clone can go away
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user