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
0
votes
0 answers

Delayed Job worker fails when trying to send Devise mails in production environment

I have a Rails 3.2.14 app deployed in a VPS. This app uses the Delayed_Job gem to manage asynchronous tasks, specifically email delivery. When executing RAILS_ENV=production rake jobs:workoff to send all pending confirmation emails, it returns the…
0
votes
1 answer

How to send two emails with devise authentication?

i'm new on ruby on rails, i want to send two emails when a user create a account in my project, so, when the user sends a request inserting email and password, i want to send email confirmable for your email and send a message informing the request…
0
votes
1 answer

Devise 3.1 Account Confirmed When Email Link Has not Been Used

Been looking around for a solution and couldn't find any. I am trying to skip sending of the confirmation email and send it after a user account's password has been set. However, after the password is set the confirmed_at is also set, so it gets…
0
votes
1 answer

Devise 3.1 Upgrade Invalid Token Error

My app has been using devise (3.1.0, 3.0.3, 3.0.2, 3.0.1, 3.0.0, 2.2.4), so the current version is 3.1.0. With this upgrade there is a new way Devise does token confirmation (blog). When I click on the email link it leads to an invalid token error,…
0
votes
0 answers

send custom confirmation mail with username and password in devise

I want to be able to send a users username and password when a user is creating anoter user in Devise. When say, admin creates a new user. A welcome mail should go with his username and password. The catch is it should only happen for users created…
Aravind
  • 1,391
  • 1
  • 16
  • 41
0
votes
2 answers

Devise - Different email when manually registered

I want to give the administrator the ability to manually register new users. Everything goes fine by just creating a new user in the admin action but I want to send a different email to these users than the one being sent to those who registered…
0
votes
1 answer

Devise email only sign up not showing confirmable view

I followed this tutorial verbatim: https://github.com/plataformatec/devise/wiki/How-To:-Email-only-sign-up But when the user clicks the confirm link, it doesn't show the screen where they set a password, yet it sets them to confirmed. I have looked…
0
votes
1 answer

Rails 3.2: Devise signup breaks when name or email not unique or email is fake (FriendlyID)

Edit: thanks @vinodadhikary -- upon further investigation it seems that the error happens when a) the email is not unique, b) the name is not unique or c) the email is obviously fake (h@h.com). If Devise isn't going to accept a signup I would prefer…
0
votes
1 answer

Display email and password in Devise confirmation email

By default devise sends this confirmation email: Welcome user@email.com! You can confirm your account email through the link below: Confirm my account I'd like it to be: Welcome user@email.com! Email: user@email.com Password: xxxxxxxxx You can…
0
votes
0 answers

Devise: Possible of moving change email (:confirmable) to a separate view?

Would it be possible to move the Devise email change a separate form? I would like to extract this functionality from my users#registrations page to a separate view. I digged the devise wiki but was unable to find any reference.
Rubytastic
  • 15,001
  • 18
  • 87
  • 175
0
votes
1 answer

Devise: how to use another mail view when user requests email change ( instead of the default )

Logged in user changes email under users#registration User receives email to confirm this email change The email send in step 2 is exactly the same as when a user registers for the first time and has to confirm his email for the first time. Is…
0
votes
1 answer

Change flash error from Devise confirmation

I'm using this guide from Devise, to set the ability of the user to create an account without a password, but to set it later on confirmation. However errors are being showed through the <%= devise_error_messages! %> excerpt. I want to change the…
João Daniel
  • 8,696
  • 11
  • 41
  • 65
0
votes
1 answer

Heroku confirmation token - Devise error (even with Sendgrid)

I am using Heroku, Devise & Sendgrid. These are my settings in environment/production.rb: config.action_mailer.default_url_options = { :host => 'myapp.herokuapp.com' } # ActionMailer Config # Setup for production - deliveries, no errors…
marcamillion
  • 32,933
  • 55
  • 189
  • 380
0
votes
1 answer

Rails devise sending emails to wrong email address

I successfully installed devise in my rails app and the user registration works perfect. I've also set it up such that users can confirm their accounts by sending an email. This works fine when the user signs up for the first time (They get the…
Joseph N.
  • 2,437
  • 1
  • 25
  • 31
0
votes
1 answer

undefined method `confirmable'

I am getting the following error when rake db:migrate is run: undefined method `confirmable' for # c:/java/RubyProjects/myproject/db/migrate/20111202225103_make_user_confirmable.rb:4:in `block in…