Acts_as_taggable plugin and multi word tags


#1

I decided to play with the plugin acts_as_taggable based on Chad
Fowler’s book Rails Recipes. Is it just me or can tags only be one
word? If not can you explain to me how to assign multi-word tags
using the acts_as_taggable plugin.

Thanks :slight_smile:

John K.
http://www.kopanas.com

=====================================================================
http://www.soen.info - source of the freshest software engineering
information on the net
http://cusec.soen.info - software engineering conference


#2

John K. wrote:

If not can you explain to me how to assign multi-word tags using
the acts_as_taggable plugin.

Just put them in double quotes like:

taggable.tag_with(’“one two” three’)

tags taggable with “one two” and “three”

bye
Luca

Email mailto://removed_email_address@domain.invalid
Skype callto://l.mearelli
Blog: http://spazidigitali.com