diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-01-05 18:32:22 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-01-05 18:55:28 +0900 |
commit | d8e0282af9023e739cdb1c5027af4fae5e4210a1 (patch) | |
tree | c7effb73788a49f9922e429ee31b38ac337fdf21 /activerecord/lib | |
parent | 1db9e9e8f182e793a0862223ed670c07e34d7d14 (diff) | |
download | rails-d8e0282af9023e739cdb1c5027af4fae5e4210a1.tar.gz rails-d8e0282af9023e739cdb1c5027af4fae5e4210a1.tar.bz2 rails-d8e0282af9023e739cdb1c5027af4fae5e4210a1.zip |
This method is never called since 8e633e505880755e7e366ccec2210bbe2b5436e7
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/attribute_methods.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb index 1ed1deec55..b6d5f2fe65 100644 --- a/activerecord/lib/active_record/attribute_methods.rb +++ b/activerecord/lib/active_record/attribute_methods.rb @@ -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 |