Hi,
So i'm trying to use acts_as_taggable with the acts_as_ferret plugin, where I have Post.rb model, which has a method tag_list made available through acts_as_taggable, as returns a string of associated tag words from the tags table (tag.rb). I've set up my Post.rb model in the following way. class Post < ActiveRecord::Base acts_as_taggable acts_as_ferret :fields => ["title", "description", :tag_list] ... end I'm noticing that when I submit a new post, the titles and descriptions are automatically indexed, and are searchable with ferret.. However, the tags do not show up in the results when I do a tag search. However, once I use script console and try to manually rebuild the Post index: Post.rebuild_index(Post) (is this syntax even correct? it returns a result of false) the tags immediately start to appear in the tag search results. So is there a way to set ferret to automatically rebuild the tag index when a Post is saved? I imagine it probably shouldn't rebuild the entire index for all posts every time a post is saved, as that might slow things up eventually, right? So what would be a good solution..? Thanks, -Sidney -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

