Top "Devise" questions

Devise is an authentication gem for Ruby-on-Rails.

Devise limit one session per user at a time

My app is using Rails 3.0.4 and Devise 1.1.7. I'm looking for a way to prevent users from sharing accounts as the …

ruby-on-rails ruby-on-rails-3 session devise
How to sign in a user using Devise from a Rails console?

After loading the Rails console, how should I sign in a user? Devise provides a test helper which can be …

ruby-on-rails console devise
Devise Not Validating Password/Password Confirmation

I have a custom controller that handles the editing of user passwords based off of the code here. User Model …

ruby-on-rails ruby-on-rails-3 devise
"Who's Online" using Devise in Rails

Using Devise on Rails, is there some way to list all the users who currently have active sessions i.e. …

ruby-on-rails-3 devise
Using Devise tokens to log in, is this built in?

So, I'm trying to use tokens with Devise (version 1.0.3 with Rails 2.3.8) to let a user log in, but I'm not …

ruby-on-rails devise token
Devise token_authenticatable deprecated, what is the alternative?

I have been using token_authenticatable before to secure my API, however, I have found that it was deprecated? What …

ruby-on-rails devise deprecated
Is devise's token_authenticatable secure?

I'm building a simple api with Rails API, and want to make sure I'm on the right track here. I'm …

ruby-on-rails api authentication devise rails-api
Profile model for Devise users?

I want to extend the sign up form of my devise installation. I created a Profile model and am asking …

ruby-on-rails authentication devise
"Could not find a valid mapping for #<User ...>" only on second and successive tests

I'm trying to write a request test that asserts that the proper links appear on the application layout depending in …

devise integration-testing rspec2 factory-bot