Forum: Ferret ActsAsFerret::IndexNotDefined

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Michail G. (Guest)
on 2009-01-05 10:49
Hello!
I use acts_as_ferret at first.
I have several models with acts_as_ferret.
When I do search in the models User,Article,Therm it works fine.
But when I try search in Addition model or in Page model I got following
error message:
ActsAsFerret::IndexNotDefined
addition

in the string: @results = Addition.find_with_ferret(params[:q])


or
ActsAsFerret::IndexNotDefined
page

in the string: @results = Page.find_with_ferret(params[:q])


Where is mistake?
Thanks!
Michail G. (Guest)
on 2009-01-05 13:21
Problem solved.
Helped restarting ferret_server and rebuilding indexes for models
This topic is locked and can not be replied to.