Method: ActiveModel::Error#attribute

Defined in:
lib/active_model/error.rb

#attributeObject (readonly)

The attribute of base which the error belongs to



121
122
123
# File 'lib/active_model/error.rb', line 121

def attribute
  @attribute
end