Flowdock
method

type_cast_attribute_for_write

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Serialization

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

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.