> Depending upon your requirement, you could even optimize it further by > using a view or include that gets the count directly via SQL, and thus > avoid having to load all issues just to get the count.
By "view" you mean an SQL view? Or did you mean something else? Also, what kind of include did you have in mind? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en -~----------~----~----~----~------~----~------~--~---

