Matt, If I were you I'd highly consider ditching Ferret for Solr and Sunspot.. http://outoftime.github.com/sunspot/
On Dec 11, 7:08 am, Matt Harrison <[email protected]> wrote: > Hi guys, > > I recently tried to upgrade my ruby version from 1.8.6-enterprise to > 1.8.7-enterprise but found some issues. Just for kicks I thought I'd try > 1.9.1 and foun that it had exactly the same issues but was generally a whole > lot faster. > > The issues I have revolve mainly around acts_as_versioned, which causes an > error intermittently when accessing the model that includes it. I have only > been able to establish that it's caused by acts_as_versioned by removing > every plugin until it stop. The error is: > > NoMethodError (undefined method `include?' for nil:NilClass): > > but the rest of the backtrace changes of course depending on what happens to > throw it at the time, see [1] for an example. I am also pasting > pages_controller[2] and models/page[3] for reference. > > The other problem I'm having is with acts_as_ferret. I have googled around > and apparently the current version (0.4.4) has already been patched to work > with 1.9.1, yet I still recieve the following when attempting to start the > server: > > Don't know how to reveal method 'methods' > > It doesn't appear in the logs so it's not so easy to get a backtrace, it's a > bit of a mess because it's copied from the passenger error page[4]. > > If anyone has some information about either of these problems I would really > love to hear it, I've been struggling with this for a couple of days now and > its starting to drive me a little mad. > > Many thanks > > Matt > > [1]http://pastie.org/738776 > [2]http://pastie.org/738785 > [3]http://pastie.org/738786 > [4]http://pastie.org/738781 > > Software: > > OpenSolaris snv_111b amd64 > Ruby 1.9.1-p376 > Apache 2.2.11 > > Gems: > > Rails 2.3.5 > Passenger 2.2.7 > acts_as_versioned 0.2.3 (Not working) > ferret 0.11.6.19 (Already patched for 1.9.1 and apparently working) > acts_as_ferret 0.4.4 (Also already patched but not working) > bluecloth 2.0.5 > will_paginate 2.3.11 > haml 2.2.1 > mysql 2.8.1 -- 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.

