Flowdock
method

_attribute

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: DeprecatedUnderscoreRead
_attribute(attr_name) protected

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/deprecated_underscore_read.rb, line 23
      def _attribute(attr_name)
        ActiveSupport::Deprecation.warn(
          "You have called '_#{attr_name}'. This is deprecated. Please use "            "either '#{attr_name}' or read_attribute('#{attr_name}')."
        )
        read_attribute(attr_name)
      end
Register or log in to add new notes.