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



50
51
52
# File 'lib/baby_squeel/errors.rb', line 50

def initialize(name, other)
  super "You can't compare association '#{name}' to #{other}."
end