Grouping with tags or joins?

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.
AIM: spdemac

On 2/2/06, Lon B. [email protected] 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs