Ok, I’m much closer to answering my own question, because I’ve now got a
workaround. Just add a file in your initializers directory that reopens
ActsAsFerret::SearchResults and adds a new method
It now works just fine.
I await the new gem so I can remove this file. Any idea when I’ll be
able to type “sudo gem update acts_as_ferret” and then remove the patch?
John S. wrote:
OK, I’ve nearly answered my own question. aaf 0.4.3 conforms to the
older version of will_paginate which used ‘page_count’ while the new
version uses ‘total_pages’. There’s a fix for this in aaf trunk with
ticket number 216 1-MAY-2008, but this hasn’t made it into the released
I could get the bleeding edge version, but that’s not available as a gem
only as a plugin. I could just edit the code, it’s only a few lines, but
then that becomes a nuisance when I have to install it on another
machine because I have to remember to edit the gem again.
When can this change be pushed into the gem?