views:

437

answers:

1

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?

+3  A: 

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:

schmitzelburger
As i thought. Thx.
xpepermint
Be careful about giving ruby toolbox too much weight in your decision making. It does give you rough stats on usage via github data but it will also skew towards older plugins over newer better plugins.
srboisvert