method

clone_value

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: ForcedMutationTracker
clone_value(attr_name) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/attribute_mutation_tracker.rb, line 137 def clone_value(attr_name) value = fetch_value(attr_name) value.duplicable? ? value.clone : value rescue TypeError, NoMethodError value end
Register or log in to add new notes.