class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeDoesNotExistError
@private
Attributes
Public Instance Methods
Source
# File lib/shoulda/matchers/active_model/allow_value_matcher/attribute_does_not_exist_error.rb, line 9 def message Shoulda::Matchers.word_wrap <<-MESSAGE The matcher attempted to set :#{attribute_name} on the #{model.name} to #{value.inspect}, but that attribute does not exist. MESSAGE end
Source
# File lib/shoulda/matchers/active_model/allow_value_matcher/attribute_does_not_exist_error.rb, line 16 def successful? false end