mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
This method is never called since 8e633e5058
This commit is contained in:
parent
1db9e9e8f1
commit
d8e0282af9
1 changed files with 0 additions and 7 deletions
|
@ -394,13 +394,6 @@ module ActiveRecord
|
|||
|
||||
protected
|
||||
|
||||
def clone_attribute_value(reader_method, attribute_name) # :nodoc:
|
||||
value = send(reader_method, attribute_name)
|
||||
value.duplicable? ? value.clone : value
|
||||
rescue TypeError, NoMethodError
|
||||
value
|
||||
end
|
||||
|
||||
def arel_attributes_with_values_for_create(attribute_names) # :nodoc:
|
||||
arel_attributes_with_values(attributes_for_create(attribute_names))
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue