Grouping with tags or joins?


#1

This more of a best practices question.

I’m implementing group functionality in a couple of applications.

The typical method, using HABTM, where you create a group and add
members, is typical.

For example, Users, Groups and Messages.

Does anyone prefer tagging instead?

Any advice would be great!


Lon B.
http://www.speedymac.com
AIM: spdemac


#2

On 2/2/06, Lon B. removed_email_address@domain.invalid wrote:

Does anyone prefer tagging instead?
I dont understand what you mean by “tagging instead”.If your application
needs users,groups and messages you just have to create those
tables.Optionally you could tag these objects. Tagging groups makes some
sense,tagging users is fine but tagging messages…I cant think of why
someone should do it.
Have you seen the acts_as_taggable plugin? That makes tagging easy
Vivek