Flowdock
method

type_cast_attribute_for_write

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: Serialization
type_cast_attribute_for_write(column, value) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.