method

serialized_attributes

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ClassMethods
serialized_attributes() 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 55
        def serialized_attributes
          ActiveSupport::Deprecation.warn(            `serialized_attributes` is deprecated without replacement, and will            be removed in Rails 5.0..squish)

          @serialized_attributes ||= Hash[
            columns.select { |t| t.cast_type.is_a?(Type::Serialized) }.map { |c|
              [c.name, c.cast_type.coder]
            }
          ]
        end
Register or log in to add new notes.