Top "Devise" questions

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

All Ruby tests raising: undefined method `authenticate' for nil:NilClass

Most of my tests are raising the following and I don't understand why. All methods call raise the 'authenticate' error. …

ruby-on-rails ruby testing rspec devise
Rails 3 using Devise: How to allow someone to log in using their Facebook account?

I have a Rails 3 application using Devise for authentication. Now I need to allow someone to log in using their …

ruby-on-rails facebook devise
Redirect to log in page if user is not authenticated with Devise

I'm using Devise with Ruby on Rails. What is the recommended way to redirect unauthenticated users to the sessions#new …

ruby-on-rails ruby-on-rails-4 devise warden
Rails: Redirect after sign in with Devise

Is it possible to redirect users to different pages (based on role) after signing in with Devise? It only seems …

ruby-on-rails devise
rails:3 Devise signup Filter chain halted as :require_no_authentication rendered or redirected

I am using Devise in my site I create admin namespace and giving functionality of create user by admin. my …

ruby-on-rails-3 redirect devise render
Creating a `Users` show page using Devise

I'm trying to create a User show page (that will function as a profile page) but am confused about how …

ruby-on-rails devise show
Devise: manually encrypt password and store directly

I'm trying to migrate a ton of users from an old database. To do this, I'm using activerecord-import and trying …

ruby-on-rails devise
How to Show Error Messages Next to Field

I have a form with input fields/labels etc. How do I get the error message to show up next …

ruby-on-rails devise haml
Creating an admin user in Devise on Rails beta 3

Ok, I'm probably going to feel quite dumb when someone answers this one with a simple thing that I'm missing …

ruby-on-rails devise
Seeding users with Devise in Ruby on Rails

In my development and test environments, I want to seed the database with a bunch of users. I'm using Ruby …

ruby-on-rails ruby-on-rails-3 devise ruby-on-rails-3.2 seed