Top "Devise" questions

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

Rails 3 - Can Active_admin use an existing user model?

Can Active Admin use my current Devise user model? It already has a column named admin, and if it's true, …

ruby-on-rails-3 devise activeadmin
Overriding Devise Registration Create Method

I want to specifically set a field when a user is created. I have class RegistrationsController < Devise::RegistrationsController def …

ruby-on-rails devise overriding crud
Devise: Disable password confirmation during sign-up

I am using Devise for Rails. In the default registration process, Devise requires users to type the password twice for …

ruby-on-rails registration devise
How to skip a before_filter for Devise's SessionsController?

I have a before_filter in my ApplicationController; that is, for every controller in my project. How can I skip_…

ruby-on-rails devise before-filter
Upgrading to devise 3.1 => getting Reset password token is invalid

Solution Thanks to this gist form Steven Harman, I got it working. devise_mail_helpers.rb module Features module MailHelpers …

ruby-on-rails devise ruby-on-rails-4 factory-bot rspec2
Do I need a "Users" controller when using Devise in Rails

I am a Rails newbie. I am working on a small Rails4 project trying to improve my skills. I am …

ruby-on-rails-4 devise railstutorial.org
Rails Disable devise flash messages

How I can disable all Devise gem flash messages ("successfully signed in","you logged out")? Thanks.

ruby-on-rails devise
How do I configure devise to use a custom email layout?

When I say layout I don't mean just simply the views, I generate those. On all my own mailers I'm …

ruby-on-rails ruby-on-rails-3 devise mailer
Rails 4.0 with Devise. Nested attributes Unpermited parameters

I am working on a web-app using Devise and Rails 4. I have a User model which I have extended with 2 …

ruby-on-rails devise nested-forms nested-attributes strong-parameters
before_filter with devise

I'm using Devise's built in before_filter :authenticate_user!. I want to call my own custom method in my application …

ruby-on-rails ruby-on-rails-3 devise before-filter