I’m trying to use acts_as_ferret to index with set conditions.
Ideally I could do something like:
acts_as_ferret :fields => [ :title, :body ],
:conditions => [“enabled = 1”]
But would settle for being able to do:
@similiar_blogs = @blog.more_like_this :field_names => [ :title, :body
], :conditions => “enabled=1”
What is the best way of accomplishing this with using more_like_this, or
even better – applying these conditions to the model to be indexed
Thanks in advance for any advice or suggestions.