Exception: CouchFoo::EagerLoadPolymorphicError
- Inherits:
-
CouchFooError
- Object
- StandardError
- CouchFooError
- CouchFoo::EagerLoadPolymorphicError
- Defined in:
- lib/couch_foo/associations.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(reflection) ⇒ EagerLoadPolymorphicError
constructor
A new instance of EagerLoadPolymorphicError.
Constructor Details
#initialize(reflection) ⇒ EagerLoadPolymorphicError
Returns a new instance of EagerLoadPolymorphicError.
65 66 67 |
# File 'lib/couch_foo/associations.rb', line 65 def initialize(reflection) super("Can not eagerly load the polymorphic association #{reflection.name.inspect}") end |