Exception: BigRecord::EagerLoadPolymorphicError

Inherits:
BigRecordError show all
Defined in:
lib/big_record/ar_associations.rb

Overview

:nodoc:

Instance Method Summary

Constructor Details

- (EagerLoadPolymorphicError) initialize(reflection)

A new instance of EagerLoadPolymorphicError



53
54
55
# File 'lib/big_record/ar_associations.rb', line 53

def initialize(reflection)
  super("Can not eagerly load the polymorphic association #{reflection.name.inspect}")
end