class Item < ActiveRecord::Base
acts_as_ferret
end
However I'm getting this message in my production log:
Processing MainController#index (for 89.100.186.111 at 2008-01-12 12:14:52) [GET]
Session ID: BAh7CDoNcGFzc3dvcmQiEnRoaXJ0ZWVuY2hhcnM6DGNzcmZfaWQiJWJjNDk0%0AZmYyMmMwNTZiN2E2OGM3MDgyZWUwMGJkZjE4IgpmbGFzaElDOidBY3Rpb25D%0Ab250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--c916b815fd78d517f750daaebb06c6a48a7849a8
Parameters: {"action"=>"index", "controller"=>"main"}
LoadError (Expected /home/lostie/lost.ie_v2/app/models/item.rb to define Item):
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:249:in `load_missing_constant'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-
When I comment out acts_as_ferret everything works fine.
I read here someone had the same bug and the solution was to roll back to an earlier release of ferret.
http://groups.google.com/group/torror/browse_thread/thread/892302a5466483b3/e39d51fd27922d9f?lnk=raot
Does anyone have any better suggestions?