I suggest you to look at, following gems: Devise -> Authentication CanCan -> Authorization rolify -> To manage roles
Hope this would help you. On Fri, Mar 15, 2013 at 10:23 AM, haxuan lac <[email protected]> wrote: > I'm trying create Demo Web with Roles Adim,User > I want my Demo have function same as: if user login with Username and > Password of Admin then you can have roles Delete,Edit..and if login as > Username and Password of user is none > I tried with Mysql and someone giveme some advise.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 unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

