Ferret Shared Index Issue

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