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

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.
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

Project
-Sequence
--Shot
---Element

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.
removed_email_address@domain.invalid

Meticulous | www.meticulous.com (work)
Rotoscope | www.rotoscope.com (sound: rock band)
Boboroshi & Kynz | www.boboroshiandkynz.com (sound: electronic)
Personal Weblog | www.boboroshi.com (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
Governor
                                  November 11, 1755
This topic is locked and can not be replied to.