Top "Devise" questions

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

Extending Devise SessionsController to authenticate using JSON

I am trying to build a rails API for an iphone app. Devise works fine for logins through the web …

ruby-on-rails ruby authentication devise
Undefined local variable or method `unconfirmed_email' when registering users?

I just installed Devise in my app, configured the views and everything. However, when I click the sign up button …

ruby-on-rails ruby-on-rails-3 devise
Testing the User Model with Rspec, Devise, and Factory Girl

I think there is a problem with my user factory being built. I'm getting an error saying that the password …

ruby-on-rails ruby rspec devise factory-bot
Rails 5, Undefined method `for' for #<Devise on line devise_parameter_sanitizer.for

I am working with Rails 5 I aded new field username in model User. class Users::RegistrationsController < Devise::RegistrationsController before_…

ruby-on-rails devise ruby-on-rails-5
Ruby: how to uninstall Devise?

I have installed Devise and now want to remove it, including all the files it has generated. How do I …

ruby devise
Circular dependency detected while autoloading constant User

I've followed this tutorial (http://railscasts.com/episodes/236-omniauth-part-2) for creating facebook login with OmniAuth and Devise and I get …

ruby-on-rails ruby devise rubygems omniauth
How to create the first (Admin) user (CanCan and Devise)?

I made authentication in my Rails 3 app fallowed by Tony's tutorial I don't want public registrations on my app, just …

ruby-on-rails-3 devise cancan
Devise redirect after login fail

All the questions I've found are related for a successful login with the helper after_sign_in_path_for(resource) …

ruby-on-rails redirect login devise
How do I enable :confirmable in Devise?

The newest version of Devise doesn't have :confirmable enabled by default. I already added the respective columns to the User …

ruby-on-rails-3 devise confirmation
RoR Devise: Sign in with username OR email

What's the best way to enable users to log in with their email address OR their username? I am using …

ruby-on-rails authentication devise