Flowdock
method

type_incompatible_with_serialize?

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ClassMethods
type_incompatible_with_serialize?(type, class_name) private

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 88
          def type_incompatible_with_serialize?(type, class_name)
            type.is_a?(ActiveRecord::Type::Json) && class_name == ::JSON ||
              type.respond_to?(:type_cast_array, true) && class_name == ::Array
          end
Register or log in to add new notes.