class ActiveModel::Type::Value
def deserialize(value)
Experimental RBS support (using type sampling data from the type_fusion
project).
def deserialize: ((Integer | Float | nil) value) -> (Integer | Float | nil)
This signature was generated using 4 samples from 1 application.
implementation just calls Value#cast.
ActiveRecord::AttributeMethods::Read#read_attribute. The default
return value of this method will be returned from
Converts a value from database input to the appropriate ruby type. The
def deserialize(value) cast(value) end