I wrote a plugin to provide custom SQL when doing a find with
association eager loading. It was certainly hard to get into
ActiveRecord to make it happen. In many cases I either found the
generated SQL to be incorrect (for my purposes, anyway) and certainly
non-optimal.

It certainly allowed me to continue to make full use of the AR
goodness while still allowing me to get my finder methods to work for
me.

Check out my blog entry on the plugin: 
http://kellogg-assoc.com/articles/2006/11/05/eager-finder-sql

Gregg Kellogg
http://kellogg-assoc.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to