Ok, this is a tricky situation. I have a user system where a user might
be an admin, a director, an actor/actress, an extra, or a member At
first, STI sounded great, mainly because a member could just browse, a
directory and actor/actress has_many movies, and so on. Then I realized
that a director could also star in a movie, so, STI wouldn't work
because of the overlap.

I'm not sure what to do to build this cleanly, I mean, it'd be easy to
use STI so I can have model relationships based on type, but if you
can't share the models, what am I to do? Use a hacky implementation of
roles?

Thoughts? Suggestions?

Thanks!
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to