Exception: BabySqueel::AssociationComparisonNotSupportedError
- Inherits:
-
StandardError
- Object
- StandardError
- BabySqueel::AssociationComparisonNotSupportedError
- Defined in:
- lib/baby_squeel/errors.rb
Overview
:nodoc:
Constant Summary collapse
- MESSAGE =
"Querying association '%{name}' with '==' and '!=' " \ "is only supported for ActiveRecord >=5."
Instance Method Summary collapse
-
#initialize(name) ⇒ AssociationComparisonNotSupportedError
constructor
A new instance of AssociationComparisonNotSupportedError.
Constructor Details
#initialize(name) ⇒ AssociationComparisonNotSupportedError
Returns a new instance of AssociationComparisonNotSupportedError.
71 72 73 |
# File 'lib/baby_squeel/errors.rb', line 71 def initialize(name) super format(MESSAGE, name: name) end |