Hi,

A really strange one.

I have the following shared index initialized on startup

ActsAsFerret::define_index('shared',
 :models => {
   Product  => {:fields => [:name, :desc]},
   HostApplication => {:fields => [:name, :desc]}
 },
 :ferret   => {
   :default_fields => [:name, :desc]
 }
)

In the console Product.find_with_ferret('express') returns around 20
results which i expect.

When i run under the server, the same code
Product.find_with_ferret('express') returns an error message undefined
method `find_with_ferret' for #<Class:0x63d8208>

Ive no idea what is wrong here.  Ive tried everything, rebuild indexes,
restart server etc etc etc but cant see why this wont work?

Anyone got a clue?

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