From: John Goetz Date: 2008-11-11T00:02:47+09:00 Subject: Re: design advice for newbie Todd Benson wrote: > On Sun, Nov 9, 2008 at 5:17 PM, John Goetz wrote: >> Hello, >> I have a typical class called Users. Each user has a Role (one of >> administrator, teacher, student, parent, or trustee). How do I design my >> controller/views/routes to best implement links to administer each >> group, like this: >> Student Administration >> Parent Administration >> Teacher Administration >> Trustee Administration >> Administrator Administration > > This question probably belongs in the Rails list/group. > > In any case, I don't know your situation, but; are you sure a trustee > administer cannot also be a student administer, or a a parent > administer also be a trustee administer. Sound like a weird relation > you are trying to force. If they are mutually exclusive, fine, but > I've never seen a setup like this. > > The problem is, I guess, that you may have to make the shoe fit later > if you want to go that route. > > Todd You are absolutely right...sorry for the 'mispost'. I originally set these up as mutually exclusive groups, but now that you point it out, it makes sense to find a way to sub-class User. Thanks for your insight. -- Posted via http://www.ruby-forum.com/.