method
write_from_user
v7.2.3 -
Show latest stable
- Class:
ActiveModel::AttributeSet
write_from_user(name, value)public
No documentation available.
# File activemodel/lib/active_model/attribute_set.rb, line 58
def write_from_user(name, value)
raise FrozenError, "can't modify frozen attributes" if frozen?
@attributes[name] = self[name].with_value_from_user(value)
value
end