Best Rails Tagging Plugin/Gem [closed]

喜欢而已 提交于 2019-11-28 22:18:20

问题


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.

  1. Started with is_taggable because I liked having something simple
  2. Then I need to find tagged items like Website.tagged_with("sports") which it didn't support so I switched to acts_as_taggable_on, the most popular one on github
  3. It worked well for a while, but it's tagged_with function had bugs. When searching for a non-existent tag it returned all results instead of zero. So I finally switched to acts_as_taggable_on_steroids and 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!