> 1. Parsing the :select option, > 2. Not providing the ability to restrict attribute selection, or > 3. A less-streamlined but more convention syntax that has the same > effect: e.g. Adding an ActiveRecord class method "eager_select":
I'm personally not sold on this particular optimisation technique. I think the real problem here is that it's still too hard to load a graph of objects out of a find_by_sql call. If that were fixed you'd be able to optimise cases like this, without too much complication to AR's codebase. -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
