In this third part to a four-part article series on implementing tagging support for an ecommerce website using Ruby-on-Rails, you'll learn how to set up the application so users can assign tags to items. This article is excerpted from chapter seven of the book Practical Rails Projects, written by Eldon Alameda (Apress; ISBN: 1590597818).
Implementing Tagging Support - Modifying the View (Page 2 of 4 )
Notice that we specify the tag separator to be a comma with thetokensparameter. This is an array and can contain more than one separator. For example, it could also contain the new-line character\n. Also notice that the tags will be shown in thetags_update div.