method

cacheable_column?

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::Read::ClassMethods
cacheable_column?(column) 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/read.rb, line 68
        def cacheable_column?(column)
          if attribute_types_cached_by_default == ATTRIBUTE_TYPES_CACHED_BY_DEFAULT
            ! serialized_attributes.include? column.name
          else
            attribute_types_cached_by_default.include?(column.type)
          end
        end
Register or log in to add new notes.