method

deserialize

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: 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.

Show source
Register or log in to add new notes.