Source: show | on GitHub
# File activerecord/lib/active_record/attribute_methods/serialization.rb, line 84 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