Ferret Issues

Hi,

I have installed the ferret gem (on WIN XP). My search and result view
is working, but it comes back with empty results all the time. It seems
like ferret is building the index (there is 3 binary files in the index
directory).

If I add the line:
acts_as_ferret :fields => [‘title’,‘description’,‘price’,‘website_url’]

to my advert model I get the following error:
undefined method `acts_as_ferret’ for Advert:Class

Please help,

David

David S. wrote:

Hi,

I have installed the ferret gem (on WIN XP). My search and result view
is working, but it comes back with empty results all the time. It seems
like ferret is building the index (there is 3 binary files in the index
directory).

If I add the line:
acts_as_ferret :fields => [‘title’,‘description’,‘price’,‘website_url’]

to my advert model I get the following error:
undefined method `acts_as_ferret’ for Advert:Class

Please help,

David

You’ve installed ferret but have you installed the acts_as_ferret plugin
and restarted your server?

David S. [email protected] writes:

Hi,

I have installed the ferret gem (on WIN XP). My search and result view
is working, but it comes back with empty results all the time. It seems
like ferret is building the index (there is 3 binary files in the index
directory).

i am not sure, are you sure they are not some old files?

If I add the line:
acts_as_ferret :fields => [‘title’,‘description’,‘price’,‘website_url’]

to my advert model I get the following error:
undefined method `acts_as_ferret’ for Advert:Class

have you installed acts_as_ferret plugin?

HTH.

Surendra S.
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| “War is Peace! Freedom is Slavery! Ignorance is Strength!”
| – Orwell, 1984, 1948
`----

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs