RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Adding tags to ActiveRecord models

Where we see how to add tags to the Article models of a blog application written in Ruby on Rails. The user should be able to enter a list of words separated by comma; the app should then create tags from the words entered if they don’t exist, and link them to the article.

Comments

Great DIY write-up. For some pre-built ready-to-use libraries see the ActsAsTaggable - Tags & Taggings, Categories & Categorizations section in the Awesome ActiveRecord listing. Cheers.

Sorry - wrong link - fixed here -> ActsAsTaggable - Tags & Taggings, Categories & Categorizations Cheers.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in