Flowdock
method

type_cast_for_database

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Connection
type_cast_for_database(attr_name, 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_caster/connection.rb, line 11
      def type_cast_for_database(attr_name, value)
        type = type_for_attribute(attr_name)
        type.serialize(value)
      end
Register or log in to add new notes.