Exception: Xeroizer::InvalidAttributeInWhere
- Inherits:
-
StandardError
- Object
- StandardError
- Xeroizer::InvalidAttributeInWhere
- Defined in:
- lib/xeroizer/exceptions.rb
Instance Method Summary (collapse)
-
- (InvalidAttributeInWhere) initialize(model_name, attribute_name)
constructor
A new instance of InvalidAttributeInWhere.
- - (Object) message
Constructor Details
- (InvalidAttributeInWhere) initialize(model_name, attribute_name)
A new instance of InvalidAttributeInWhere
101 102 103 104 |
# File 'lib/xeroizer/exceptions.rb', line 101 def initialize(model_name, attribute_name) @model_name = model_name @attribute_name = attribute_name end |
Instance Method Details
- (Object) message
106 107 108 |
# File 'lib/xeroizer/exceptions.rb', line 106 def "#{@attribute_name} is not an attribute of #{@model_name}." end |