cached_attributes()
returns the attributes where
# File activerecord/lib/active_record/attribute_methods.rb, line 103 def cached_attributes @cached_attributes ||= columns.select{|c| attribute_types_cached_by_default.include?(c.type)}.map(&:name).to_set end