Exception: ActiveRecord::EagerLoadPolymorphicError
- Inherits:
-
ActiveRecordError
- Object
- StandardError
- ActiveRecordError
- ActiveRecord::EagerLoadPolymorphicError
- Defined in:
- activerecord/lib/active_record/associations.rb
Overview
:nodoc:
Instance Method Summary (collapse)
-
- (EagerLoadPolymorphicError) initialize(reflection)
constructor
A new instance of EagerLoadPolymorphicError.
Constructor Details
- (EagerLoadPolymorphicError) initialize(reflection)
A new instance of EagerLoadPolymorphicError
87 88 89 |
# File 'activerecord/lib/active_record/associations.rb', line 87 def initialize(reflection) super("Can not eagerly load the polymorphic association #{reflection.name.inspect}") end |