How to expire a directory in Rails? I have a blog where /posts/ lists all the posts. Controller posts, action index. Pretty standard stuff.
I use the will_paginate plug-in. In oder to generate routes that I can cache ( /posts/index/2 instead of /posts?page=2) I added the following to my routes.rb:
We just ran into this problem the other day all of a sudden.Our Rails app is using will_paginate, and I have it defined as follows in my controller:
I\'m trying to install will paginate. I installed the gem, as detailed on the github page. The gem installed OK, but when I tried a line like
EDIT Looks like I figured it out - I had to call paginate after the call to all from Searchlogic. I\'m trying to use both of these tools to enable users to search contacts and return a paginated list