xpepermint
xpepermint

Reputation: 36273

Rails tagging and tag list

I saw alot of good tagging plugins but are these plugins really what I want?

I want to: - Tag products, users and news - Search by tags - List all tags like SELECT DISTINCT tag (for a autocomplete tag list and button tags like here on stackoverflow).

I'm thinking of a separated model Tag. What is the best way to do it?

Upvotes: 13

Views: 7211

Answers (1)

schmitzelburger
schmitzelburger

Reputation: 2080

The two most popular plugins (according to Ruby Toolbox) both use two separate models to realize tagging of arbitrary classes. Since your classes seem to be known beforehand, you might get away with using just one. Here are the proper URLs to both plugins for reference:

Upvotes: 22

Related Questions