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.
8c49880a7f274947b01d576c5828a5f6?d=identicon&s=25 Lon Baker (spdemac)
on 2006-02-02 01: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 Baker
http://www.speedymac.com
AIM: spdemac
6828ffc79486cd2442714bf32286a910?d=identicon&s=25 Vivek Krishna (Guest)
on 2006-02-02 07:51
(Received via mailing list)
On 2/2/06, Lon Baker <lon@speedymac.com> 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.