Feb 22
Tagging Version 1.0 Released
Yes, you heard correctly, yet another tagging plugin for Ruby on Rails. Before you snicker though, take a look, you might see something you like.
While I was working on Devalot I played with the existing tagging plugins and read a few blog articles. It seems that a lot of people where creating local modifications to the plugins, mostly because the plugins lacked some key features.
I took inspiration from those articles and came up with my own plugin: Tagging.
It has all the features you'd expect:
- Migration generator so you don't have to guess what the schema is
- Tag cloud generator (with a default CSS file)
- Tag editor (so you quickly add and remove tags)
- Simple association based tag access
How hard is it to use the tag editor and tag cloud generator in your views?
<h1>Tags: <%= tag_editor_for(@article) %></h1> <%= tag_cloud_for(@article) %>
And what about manually adding and removing tags, say from script/console?
article.tags.add("ruby pmade") article.tags.remove("python")
Take a look at the quick start guide and get going!