Displaying 2 results from an estimated 2 matches for "index_when_finish".
Did you mean:
index_when_finished
2006 Sep 18
3
Automatic reindexing of associated columns acts_as_taggable
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
2006 Dec 11
1
Index help on Polymorphic Associations
...39;'9'' to index
Adding field details with value ''test project 9'' to index
Adding field notable_type with value ''Project'' to index
.......
I also added this to the NotesController:
def create
@note = Note.new(params[:note])
@note.disable_ferret(:index_when_finished) do
@successful = @note.save
end
.....
end
This doesn''t seem to work either, but after I have rebuild the index,
the note ''test'' now appears on the results. Did I miss something here?
Any help is greatly appreciated.
Thanks much,
Jackie
--
Posted via http...