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!
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---