# Acts\_as\_attachment and tagging?

**URL:** <https://www.ruby-forum.com/t/acts-as-attachment-and-tagging/72183>\
**Category:** Ferret\
**Created:** [October 15, 2006, 5:30am UTC](https://www.ruby-forum.com/t/acts-as-attachment-and-tagging/72183 "2006-10-15T05:30:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![koloa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/4bbf92/32.png) [@koloa](https://www.ruby-forum.com/u/koloa)\
**Post date:** [October 15, 2006, 5:30am UTC](https://www.ruby-forum.com/t/acts-as-attachment-and-tagging/72183/1 "2006-10-15T05:30:29Z")

</div>

hi, i read this:

[http://www.johnnysthoughts.com/2006/08/27/ruby-on-rails-using-full-text-search-with-tagging/](http://www.johnnysthoughts.com/2006/08/27/ruby-on-rails-using-full-text-search-with-tagging/)

does this mean i do not have to install the acts\_as\_taggable plugin? all  
i need to do is something like this is my model class?  
acts\_as\_ferret :field=\>[‘name’, :tag\_list]

---

<div class="post-metadata">

**Author:** ![koloa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/4bbf92/32.png) [@koloa](https://www.ruby-forum.com/u/koloa)\
**Post date:** [October 16, 2006, 12:41am UTC](https://www.ruby-forum.com/t/acts-as-attachment-and-tagging/72183/2 "2006-10-16T00:41:31Z")

</div>

On Sun, Oct 15, 2006 at 05:30:29AM +0200, koloa wrote:

> hi, i read this:
> 
> [http://www.johnnysthoughts.com/2006/08/27/ruby-on-rails-using-full-text-search-with-tagging/](http://www.johnnysthoughts.com/2006/08/27/ruby-on-rails-using-full-text-search-with-tagging/)
> 
> does this mean i do not have to install the acts\_as\_taggable plugin? all  
> i need to do is something like this is my model class?  
> acts\_as\_ferret :field=\>[‘name’, :tag\_list]

from quick-reading that post, you’ll still need acts\_as\_taggable to have  
your taggings get saved correctly. he just uses aaf to search posts by  
tags.

Maybe you could get away with just storing tags in a text field on each  
record, and searching this field with ferret - but this way you’ll lose  
the possibility do do relational db queries on your tags.

cheers,  
Jens

–  
webit! Gesellschaft für neue Medien mbH [www.webit.de](http://www.webit.de)  
Dipl.-Wirtschaftsingenieur Jens Krämer removed\_email\_address@domain.invalid  
Schnorrstraße 76 Tel +49 351 46766 0  
D-01069 Dresden Fax +49 351 46766 66
