method

deserialize

rails latest stable - Class: ActiveModel::Type::Value
deserialize(value)
public

Converts a value from database input to the appropriate ruby type. The return value of this method will be returned from ActiveRecord::AttributeMethods::Read#read_attribute. The default implementation just calls Value#cast.

value The raw input, as provided from the database.