Methods
- C
-
- D
-
Instance Protected methods
cached_attributes_deprecation_warning(method_name)
Link
Source:
show
| on GitHub
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)
Link
Source:
show
| on GitHub
def define_method_attribute(name)
method = ReaderMethodCache[name]
generated_attribute_methods.module_eval { define_method name, method }
end