Best gem for user authorization?


Which is the best gem available for user sign-up and sign-in where user can have only one role at a time(i.e sign in as admin or as a data entry operator)? Also, email cannot be used as user name or to get forgotten password. Infact, email is not a part of user profile at all.

Thanks. RM.

Search for plataformatec’s gem: devise

if you want roles then you should take a look at cancan


Also check out Ruby Toolbox for info on how popular various options are, as well as how well-maintained: