acts_as_ferret cross model index not updating

Just add an after_save callback any associated models to cause a reindex. Eg:.

class Post < AR::Base acts_as_ferret :fields => :category_name

def category_name category.name if category end end

class Category < AR::Base after_save do |category| if category.post category.post.ferret_update end end end

-Jonathan.

Reading your post i got an idea to write a rake task to use Model.rebuild_index acts_as_ferret.. this way i can rebuild the index for all my nonstandard fields to get reindexed... whenever i want.. thanks..