Displaying 1 result from an estimated 1 matches for "mytags_control".
2006 Apr 28
4
Call for patterns...
Hi group,
I was wondering if anyone more experienced could help me to find a good
pattern for two things:
1. How to group controllers. Example:
We have an admin panel with:
user_managment_controller.rb
priv_managment_controller.rb
widget_controller.rb
User panel with:
mystuff_controller.rb
mytags_controller.rb
profile_controller.rb
And frontend with:
widget_controller.rb
etc...
How do I group those controllers? Should I put them in subdirectories?
Does rails support this automagically?
and
2. I have a model/table Widget with fields a,b,c,etc.
Lets say guest can edit fields a,b
users: a,b,c,d
mo...