I\'m want to implement twitter-like hashtag on my app.
Let\'s say I have user input to a text area \"I\'m coming to #london from #paris\" then I want to build tag cloud
ActsAsTaggableOn
should work fine if you are not too worried about scaling. It keeps track of your actual tags by ActsAsTaggableOn::Tag
, and keeps track of the many-to-many relationship to your posts by ActsAsTaggableOn::Tagging
. It also uses polymorphic association in ActsAsTaggableOn::Tagging
so you can tag in different namespaces.