method

deserialize

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 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.