I'm having a weird problem. Recently, on all my environments, one of my
two indexed models is not returning any results to acts_as_ferret.
However, the folder is being created for it and Im not receiving any
errors.

On my two models, I call the following:

Book.rebuild_index
User.rebuild_index

When I call those commands through either my live app "ruby
script/server" or through the console "ruby script/console," it works
fine and I can search on the Book model.

However, when I run those exact commands through a rake task (with
:environment set), it creates the indexes successfully, but it will
return NO results for the Book model. However, User will continue to
work. Looking in the log files, it shows that the rebuilds were
successful. Im guessing there is some kind of linking problems here.

Anyone have any suggestions?

Thanks in advance. - Aryk
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to