Exception: BabySqueel::AssociationComparisonError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/baby_squeel/errors.rb

Overview

:nodoc:

Instance Method Summary collapse

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