class ActiveRecord::EagerLoadHasCountError
This imitates EagerLoadPolymorphicError
Public Class Methods
new(reflection)
click to toggle source
Calls superclass method
# File lib/active_record/associations/join_dependency/has_count.rb, line 4 def initialize(reflection) super("Cannot eagerly load the has_count association #{reflection.name.inspect}") end