On 25/05/2011, at 6:22 PM, Samuel Richardson wrote:
> I removed the inclusion of medias when calling genres which has sped
> things up immensely, so whatever it was, was related to that.


Make sure you have the correct DB indexes set up for both joining & sorting, 
and consider eager loading (via includes) any models that are causing 
additional queries.


Cheers,

Nathan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en.

Reply via email to