Methods

Files

Class Index [+]

Quicksearch

ActiveRecord::AttributeMethods::DeprecatedUnderscoreRead

Protected Instance Methods

_attribute(attr_name) click to toggle source
    # File lib/active_record/attribute_methods/deprecated_underscore_read.rb, line 23
23:       def _attribute(attr_name)
24:         ActiveSupport::Deprecation.warn(
25:           "You have called '_#{attr_name}'. This is deprecated. Please use "            "either '#{attr_name}' or read_attribute('#{attr_name}')."
26:         )
27:         read_attribute(attr_name)
28:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.