Polymorphic associations work great until I try to do some eager
loading through :include. In my example, the interface name is
“:imagehaver”. Here’s my little eagerly loading find line:
Image.find(params[:id], :include => :imagehaver)
All it gives me is an ActiveRecord::EagerLoadPolymorphicError with no
further explanation. I haven’t been able to dig up anything useful
through Google, so I’m worried (or hoping?) that it could just be my
code. Any ideas?