Glsio wrote:
> David Balmain wrote:
>> On 10/10/06, Glsio <[EMAIL PROTECTED]> wrote:
>>> Suppose that acts_as_taggable need three models: Tag, Tagging, Article
>>>
>>> Could tag search be realized using acts_as_ferret?
>>> Suppose tags:"a","ab","abc",If i wanted to get all the articles with tag
>>> name including "a", Could ferret satifisy this requirement?
>>>
>> 
>> Yes, no problem at all. You just need to make sure that the tag field
>> is included in the index for the Article model.
>> 
>> Dave
> 
> Hi,Dave
> Can you show me example? very grateful.
> 
> Glsio

Hi...
All these to ur model

acts_as_taggable
acts_as_ferret :fields => ["field1", "field2", :tag_list]


Take care of one thing ur page should not have any tabs..replace all
tabs by spaces

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to