Exception: BabySqueel::AssociationComparisonError
- Inherits:
-
StandardError
- Object
- StandardError
- BabySqueel::AssociationComparisonError
- Defined in:
- lib/baby_squeel/errors.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(name, other) ⇒ AssociationComparisonError
constructor
A new instance of AssociationComparisonError.
Constructor Details
#initialize(name, other) ⇒ AssociationComparisonError
Returns a new instance of AssociationComparisonError.
61 62 63 |
# File 'lib/baby_squeel/errors.rb', line 61 def initialize(name, other) super "You can't compare association '#{name}' to #{other}." end |