Hi,

I have acts as ferret working ok on the production server with the built
in drb server.

Locally i can get the server running ok but get the following errors
when trying to run a search within an app

undefined method `find_with_ferret' for #<Class:0x2f4c3e0>
undefined method `ferret_rank=' for #<Product:0x302643c>

Using the console the search actually returns the expected the results
which is baffling me a bit. So
Product.find_with_ferret('test') will work in the console but not in the
application.

I have the same version of ferret locally as i do on the production
server.
I can rebuild the indexes ok.
The indexes i have are sharedindex, see below,

ActsAsFerret::define_index('shared',
 :models => {
   Product  => {:fields => [:name, :desc, :meta_keywords, :meta_desc,
:manufacturer_name],:remote => true},
   HostApplication => {:fields => [:name, :desc, :meta_keywords,
:meta_desc], :remote => true},
   Manufacturer => {:fields => [:name, :desc, :meta_keywords,
:meta_desc], :remote => true},
   Category => {:fields => [:name, :desc, :meta_keywords, :meta_desc],
:remote => true}
 }
)

Has anybody got any ideas whats wrong?  Ive searched around google with
no joy.  My dev env is mac, ruby 1.8.7, Rails 2.3.2,

JB
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to