I was wondering if anyone more experienced could help me to find a good
pattern for two things:
- How to group controllers. Example:
We have an admin panel with:
User panel with:
And frontend with:
How do I group those controllers? Should I put them in subdirectories?
Does rails support this automagically?
- I have a model/table Widget with fields a,b,c,etc.
Lets say guest can edit fields a,b
How do I implement this? Can I create a model-class for each user-group?
How do I make sure that certain fields cannot be edited (for example by
PS: Obviously I want to make it ADAP (as DRY as possible)