Rails 3 User Authentication (User Types)

Are there any particular rails user authentication gems or plugins that are well-suited for multiple user types?

  • (ruby gems) warning: duplicated key at line 46 ignored: “index0”
  • Getting Ruby on Rails environment working and installing sqlite3
  • How to access Firefox Extension I added in Selenium Webdriver?
  • Building a gem from outside of the directory
  • heroku language locale not working I18n::MissingTranslationData
  • Error while running rails on remote host. “Could not find crack-0.1.8 in any of the sources”
  • Are there any Ruby gems for getting web host details like os , server
  • Unable to record Whois requests with VCR?
  • 2 Solutions collect form web for “Rails 3 User Authentication (User Types)”

    Devise has a good way to set up multiple roles, perhaps it’s something you could use.

    Are you looking for authenticating multiple types of user, like you want to store admins in one table and users in another? If that’s what you want, then I agree that Devise is the way to go.

    If you want to use one user model and implement roles, then I think a combination of Devise and CanCan would be a great choice.

    Ruby is the best programming language in the world - Ruby on Rails.