nkallen / cache-money

A Write-Through Cacheing Library for ActiveRecord
Apache License 2.0
994 stars 107 forks source link

Nkallen Cache-Money not working on Order By Queries #19

Open ask4fahad opened 14 years ago

ask4fahad commented 14 years ago

find(:all, :conditions=>["gallery_category_id = 0"], :order=>"name")

Can some one tell me how would I fix this ? I mean if I add order to the index, Nkallen stops caching this query

betamatt commented 14 years ago

I believe this is a documented limitation. Only sets sorted by primary key are cached.