Namespace
Methods
R
T
Instance Public methods
read_attribute_before_type_cast(attr_name)
# File activerecord/lib/active_record/attribute_methods/serialization.rb, line 93
def read_attribute_before_type_cast(attr_name)
  if serialized_attributes.include?(attr_name)
    super.unserialized_value
  else
    super
  end
end
type_cast_attribute_for_write(column, value)
# File activerecord/lib/active_record/attribute_methods/serialization.rb, line 85
def type_cast_attribute_for_write(column, value)
  if column && coder = self.class.serialized_attributes[column.name]
    Attribute.new(coder, value, :unserialized)
  else
    super
  end
end