Rails: Act_as_taggable_on vs. Rocket_tag
Asked Answered
F

2

6

Looks like Act_as_taggable_on is the more established gem, but Rocket_tag is the newer and hotter one.

Which one would you recommend, and why?

Most of the posts I found that compared Rails tagging were fairly outdated, and I was wondering if anyone knew something about Rocket_tag (not much info on it out there).

Favin answered 18/5, 2012 at 6:57 Comment(0)
E
3

I used both.

I am very happy with act_as_taggable, but for Rails 3.1 I switched to rocket_tag.

On every project that is in rails <3.1 act_as_taggable.

Sorry, I do not have any oline resources, just my own opinion.

Equivocate answered 5/6, 2012 at 13:39 Comment(0)
M
3

I'm the author of rocket_tag so I'm a bit biased. The reason I wrote rocket_tag was that I found the code for the other taggable gems to be messy and unreadable and thus hard to extend and play with. I generally use Ernie Millers excelent Squeel GEM for writing and composing database queries. Squeel is a super clean and powerful ruby DSL for putting together SQL.

If you have a need for some custom tagging query then I suggest taking a look at how rocket_tag is put together and trying to roll your own tagging analysis method.

Musca answered 13/6, 2012 at 7:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.