Questions tagged [devise-confirmable]

Devise's Confirmable module

Its used for confirming the email id mentioned by user to signup. It will email the confirmation token to the registered email id and user can confirm by clicking on the provided link to confirm his/her account.

251 questions
1
vote
2 answers

undefined local variable or method `root_path' for #<#:0xc0be918>

I was trying to work the Devise confirmable email, but now errors appear and it does not work (before the changes, it worked well). If anyone can help me identify it, I'd appreciate it. I just was trying:…
1
vote
1 answer

How to make devise gem go to specific page when user logs in for the FIRST time using confirmation email link but only in this situation

so i am trying to build a social network for rails practise that using devise gem asks the user to confirm email in order to enable login. My problem: I want the user to fill a form when he/she logs in for the very first time. This first time…
hack-is-art
  • 325
  • 5
  • 20
1
vote
1 answer

Setting a Time-Zone breaks Devise Authenthication

I'm using ruby-on-rails-5 with devise and devise-token-auth. I did this in my user model and it worked fine: before_create :skip_confirmation! # Include default devise modules. devise :database_authenticatable, :registerable, :recoverable,…
1
vote
2 answers

undefined method `confirm!' in devise

I am using devise since for my rails application and been using devise confirmable for users so they have to confirm their email after sign in! I want to remove :confirmable and allow users to sign in without confirm their emails and I removed it…
bilal
  • 219
  • 1
  • 5
  • 15
1
vote
1 answer

Devise signed_up_but_unconfirmed won;t show

I have recently added confirmable to my rails application with devise. It is all working smoothly however when I create a new user I am getting the signed_up: "Welcome! You have signed up successfully." rather than signed_up_but_unconfirmed:"A…
MikeHolford
  • 1,851
  • 2
  • 21
  • 32
1
vote
3 answers

how to skip email confirmation using devise_token_auth?

I'm using devise_token_auth gem for my Rails app. I want to login into application once the user sign_up is done. How can I skip confirmation. I tried config.reconfirmable = false but no luck Can anyone suggest me or help me how can I achieve…
Kranthi
  • 1,377
  • 1
  • 17
  • 34
1
vote
1 answer

ActionController::UrlGenerationError in Devise::Registrations#create

I'm newbie in Rails and I don't know what to do with tis error, please help (with explanation): ActionController::UrlGenerationError in Devise::Registrations#create Showing…
1
vote
2 answers

Rails & Devise: How can I trigger other events when user registers?

For example a visitor will create an account I want to be able to trigger and create other things with those parameters until they confirm or login. This is the closest solution I have, if it's not efficient please it would be great to give any…
0bserver07
  • 3,390
  • 1
  • 28
  • 56
1
vote
1 answer

Error-undefined method `add_error_on' for ConfirmationsController:Class-rails4-devise

I am using Rails 4 and devise 3.2. At sign up time, an activation/confirmation link is sent by e-mail to the newly registered user. I have implemented this from this article in the Devise wiki. Whenever I put same passwords they login without any…
dips
  • 370
  • 6
  • 17
1
vote
1 answer

Devise confirmable: Token is invalid error

Been looking for past 3 hours... setting up confirmable email it protrayed as being easy but its is FAR from that. Anyway, I have fought through slew of errors and undefined maethods and variables and have wrestled this thing to send me something...…
pirate694
  • 127
  • 2
  • 17
1
vote
1 answer

Devise: Allow users to edit their account without providing a password BUT also use 'reconfirmable' functionality

I've been following this how-to in the Devise wiki... How To: Allow users to edit their account without providing a password ...to enable my users to change the account credential and update without providing their existing password. However, I also…
1
vote
3 answers

Devise Confirmable continues to send to localhost:3000 in production mode

I've successfully set up Devise Confirmable with Facebook authentication, and everything works perfectly in development mode. When I push to heroku and run in production mode, the app send an email but the link routes me…
Webbr88
  • 89
  • 9
1
vote
1 answer

Different devise confirmation process for same model

I am using Rails 3.2.15 and Devise 2.2.8. I want to have different email confirmation behaviour for same model depending on certain conditions. Case 1: User signs up on his own using an email and password, gets Mail Template 1 (the mail only asks…
1
vote
1 answer

Using Spree's Devise for confirmation email, and connect via facebook and google

I have a spree app. Along with it comes the Devise authentication. I want to set-up devise :confirmable, and subsequently connect via google and facebook. I tried to set up the file config/initializers/devise.rb for devise :confirmable but changing…
Vedant Agarwala
  • 18,146
  • 4
  • 66
  • 89
1
vote
2 answers

Add an image to confirmation email using Devise 3 and Rails 4

Using Devise 3 and Rails 4, I would like to add an image to my confirmation email. I tried... Views/Devise/Mailer/confirmation_instructions.html.erb <%= image_tag("my_image.png") %> ...the image however is showing up as a default placeholder…
MicFin
  • 2,431
  • 4
  • 32
  • 59