Exception: CouchFoo::HasManyThroughAssociationNotFoundError

Inherits:
CouchFooError
  • Object
show all
Defined in:
lib/couch_foo/associations.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(owner_class_name, reflection) ⇒ HasManyThroughAssociationNotFoundError

Returns a new instance of HasManyThroughAssociationNotFoundError.



13
14
15
# File 'lib/couch_foo/associations.rb', line 13

def initialize(owner_class_name, reflection)
  super("Could not find the association #{reflection.options[:through].inspect} in model #{owner_class_name}")
end