Acts_as_taggable plugin to tag multiple fields in a model

Hello,

Is it possible to tag multiple fields in a model using either
acts_as_taggable plugin or gem? If it is not possible out of the box,
can
anyone provide pointers on how I would achieve something like that?

Say I have a ‘Food’ model which has ‘spices’ and ‘healthiness’
attributes.
I want to be able to tag on both those fields. Is that possible?

Thanks,
Vaishal

In case no one replied…

The acts_as_taggable plugin (the one originally written by DHH)
allows you to tag on any field that’s declared as taggable, and it
uses a single set of tables for the Tags and Taggings. However, it
does require Rails 1.1 as it uses :through to achieve this magic.

The acts_as_taggable gem uses a separate table to hold the tags for
each model you’re tagging (so you can’t share the vocabulary among
models). I believe it works with Rails 1.0.

I chose the plugin because I knew I wanted a shared vocabulary. YMMV.


Jim K.
http://jim.eponym.com/
[email protected]