Exception: Devise::Models::MissingAttribute
- Inherits:
-
StandardError
- Object
- StandardError
- Devise::Models::MissingAttribute
- Defined in:
- lib/devise/models.rb
Instance Method Summary (collapse)
-
- (MissingAttribute) initialize(attributes)
constructor
A new instance of MissingAttribute.
- - (Object) message
Constructor Details
- (MissingAttribute) initialize(attributes)
A new instance of MissingAttribute
4 5 6 |
# File 'lib/devise/models.rb', line 4 def initialize(attributes) @attributes = attributes end |
Instance Method Details
- (Object) message
8 9 10 |
# File 'lib/devise/models.rb', line 8 def "The following attribute(s) is (are) missing on your model: #{@attributes.join(", ")}" end |