search for: change_rol

Displaying 1 result from an estimated 1 matches for "change_rol".

Did you mean: change_role
2014 Mar 01
0
Rails controller problems
...should create a method called 'get_orders' in Users_Controller? 2. Can user's id be passed as the param[:id] for controllers other than Users_Controller? I find that it seems to make CanCan hard to maintain. 3. There seem to be too many methods in Users_Controller (e.g. deactivate, change_role, etc.). How do you organise them/reduce them? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3Mboc...