Forum: Ruby on Rails Grouping with tags or joins?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Lon B. (Guest)
on 2006-02-02 02:54
(Received via mailing list)
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
Vivek K. (Guest)
on 2006-02-02 08:51
(Received via mailing list)
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
This topic is locked and can not be replied to.