On 2/2/06, Lon Baker <lon@speedymac.com> wrote:>
> 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?
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060202/5906d0ec/attachment.html