edge badge
Methods
C
D
Instance Protected methods
cached_attributes_deprecation_warning(method_name)
# File activerecord/lib/active_record/attribute_methods/read.rb, line 48
def cached_attributes_deprecation_warning(method_name)
  ActiveSupport::Deprecation.warn "Calling `#{method_name}` is no longer necessary. All attributes are cached."
end
define_method_attribute(name)
# File activerecord/lib/active_record/attribute_methods/read.rb, line 53
def define_method_attribute(name)
  method = ReaderMethodCache[name]
  generated_attribute_methods.module_eval { define_method name, method }
end