I'm having some problems on a particular acts_as_ferret model.
Rebuilding the index with Model.rebuild_index does not seem to work. No
results are returned after indexing. However,
when I update each record manually, the index seems to be correct.
This is my model:
class Article < ActiveRecord::Base
acts_as_ferret :fields => [ :active_title,:active_excerpt,:joined_tags
], :remote => true
The fields specified are custom methods, defined in acts_as_messageuser.
Maby this is causing some troubles with ferret :
#active_title => returns title field in current active language
value = read_attribute(param.to_s)
language = $activelanguage.code.to_sym
Can somebody point me in the right direction? Oh, I'm using
ferret_server in production mode. Ferret works fine on the model in
development mode without ferret_server