问题
what plugin or gem do you recommened for tagging? There are many of them, acts_as_taggable, acts_as_taggable_on_steroids, acts_as_taggable_on,...
What do you say?
回答1:
Here's a good list of tagging plugins ordered by ranking.
回答2:
Just went through this.
- Started with
is_taggablebecause I liked having something simple - Then I need to find tagged items like
Website.tagged_with("sports")which it didn't support so I switched toacts_as_taggable_on, the most popular one on github - It worked well for a while, but it's
tagged_withfunction had bugs. When searching for a non-existent tag it returned all results instead of zero. So I finally switched toacts_as_taggable_on_steroidsand all is good now. Whew!
Summary: my current vote it for acts_as_taggable_on_steroids
回答3:
Updating this question because it's pretty high in the google results. After looking around at the links in these answers, we settled on acts-as-taggable-on https://github.com/mbleigh/acts-as-taggable-on
Works with Rails 3 (though as I type this, has an issue with 3.0.10). Easy enough to use. Active development. Support for tag context which I'm sure we're going to want soon.
回答4:
My favourites is acts_as_taggable_on_steroids, it's more recent and updated version of the classic acts_as_taggable.
回答5:
I just had to figure this out this morning, and chose acts_as_taggable_redux. It has built in support for tag clouds, and all the other features I needed. The most compelling point was that the last update was in October 2009, while the others look like they haven't been touched in a while.
来源:https://stackoverflow.com/questions/1152477/best-rails-tagging-plugin-gem