Flowdock
method

attribute

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Attributes
attribute(attr_name) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/attributes.rb, line 86
      def attribute(attr_name)
        name = if self.class.attribute_alias?(attr_name)
          self.class.attribute_alias(attr_name).to_s
        else
          attr_name.to_s
        end
        @attributes.fetch_value(name)
      end
Register or log in to add new notes.