I am using Rails 3.0.1 and the acts-as-taggable-on gem.
I have it implemented properly (I can create and find tags for my Post model in the rails console.)
I even have the tag cloud working on my controller’s index page.
I am stuck on the part I wasn’t expecting to get stuck on. 🙁
How do I add the text_field for the tag list to the new and edit view forms when adding a new Post or editing a current one? For some reason, probably because I am daft, I can find no examples of this in my searches–I am the only one who can’t figure it out!
So, don’t hold back. 😉
acts-as-taggable-on expects a plain input field to enter the coma separated tags. If your model has
acts_as_taggable, the view will be something like the following code (locate your own in_form.html.erbpartial):if has
acts_as_taggable_on :languageswill be: