Flowdock
method

type_cast_for_database

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: Serialized
type_cast_for_database(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/type/serialized.rb, line 23
      def type_cast_for_database(value)
        return if value.nil?
        unless default_value?(value)
          super coder.dump(value)
        end
      end
Register or log in to add new notes.