A logic question (parent/child relationships)


#1

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