Forum: Ruby on Rails Eager loading and polymorphic association

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Thomas (Guest)
on 2006-03-26 20:40
Hi all,

Is it possible to do "eager loading" with polymorphic associations ?

Ex : I have a Page model that acts as taggable. When I do
Page.find(:all), I would like to retrieve all tags associated with a
page.

Thanks,
Thomas.
This topic is locked and can not be replied to.