method
new
new(reflection = nil)
public
Hide source
# File activerecord/lib/active_record/associations.rb, line 244 def initialize(reflection = nil) if reflection super("Cannot eagerly load the polymorphic association #{reflection.name.inspect}") else super("Eager load polymorphic error.") end end