method
new
v5.2.3 -
Show latest stable
- Class:
ActiveModel::Attribute
new(name, value_before_type_cast, type, original_attribute = nil)public
This method should not be called directly. Use #from_database or #from_user
new(name, value_before_type_cast, type, original_attribute = nil)This method should not be called directly. Use #from_database or #from_user