class Devise::Models::MissingAttribute

Public Instance Methods

message() click to toggle source
# File lib/devise/models.rb, line 8
def message
  "The following attribute(s) is (are) missing on your model: #{@attributes.join(", ")}"
end

Public Class Methods

new(attributes) click to toggle source
# File lib/devise/models.rb, line 4
def initialize(attributes)
  @attributes = attributes
end