Forum: Ruby on Rails a logic question (parent/child relationships)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
bobo (Guest)
on 2005-11-29 02:11
(Received via mailing list)
I'm working on a project with a lot of joins right now. Here's the
kind of setup


Now elements also belong to departments. I have certain elements,
however, that don't truly belong to one shot or sequence, but the
entire project (for example, art reference files).

Would this be better served by a new model or maybe an acts_as_tree
kind of setup?  Or is there something in a ruby approach that I'm not
seeing right now?

John A.

Meticulous | (work)
Rotoscope | (sound: rock band)
Boboroshi & Kynz | (sound: electronic)
Personal Weblog | (play)

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."
          - Benjamin Franklin (1706-1790)
                        Reply of the Pennsylvania Assembly to the
                                  November 11, 1755
This topic is locked and can not be replied to.