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
1 answer

Redirect user to certain page after registration using Devise + confirmable

I am using Devise for user registration, and am using Confirmable to perform email validation. After a user registers, I want to redirect them to a URL explaining that they need to check their email and click on the link sent. I am using Devise's…
Matt
  • 903
  • 1
  • 9
  • 15
0
votes
3 answers

Devise Validation Errors

I'm trying to create a Devise user manually. The hitch is that validations only seem to pass when I call User.create. When I call User.new, the resulting user instance is invalid. Unfortunately, I can't determine why. The resulting error message is…
0
votes
1 answer

undefined method `confirm!' for #

i created a file seeds.rb indb/seeds.rb code for this file is puts 'SETTING UP DEFAULT USER LOGIN' user = User.create! :name => 'My Fir User', :email => 'rashmi@example.com', :password => 'please', :password_confirmation =>…
mathlearner
  • 7,509
  • 31
  • 126
  • 189
0
votes
1 answer

Modify Devise confirmed? to include password.blank?

I need to modify how Devise decides if a user account is confirmed. I have set up 2 step registration where a user enters an email then sets their password after clicking a link in their email. This works fine but I have a scenario where a logged…
vlwills
  • 105
  • 1
  • 7
0
votes
1 answer

Null pointer error in devise

Something very strange happening with my devise setup. I have a custom ConfirmationsController which I'm using for custom behaviour with devise. My customer model: class Customer include Mongoid::Document after_create :prepare_demo_app devise…
OVERTONE
  • 11,797
  • 20
  • 71
  • 87
0
votes
1 answer

Routing issue with Devise confirmable - Email only signup, getting error "Couldn't find User with id=confirmation"

I think I have a routing issue with Devise that I can't figure out. I am trying to implement this method for having users sign up using Devise for authentication. The example uses haml, and I have attempted to translate that back to erb, hopefully…
Gruntled
  • 143
  • 9
0
votes
2 answers

Setup Devise User Confirmation to all responding to emails rather than clicking on the link

One issue I'm seeing with Devise is that confirmation emails can go to the spam folder. If the user could simply respond to the email, that would serve to confirm the email address and it would train gmail that the sender is not spam. Any…
justingordon
  • 12,553
  • 12
  • 72
  • 116
0
votes
1 answer

Devise 1.5.3 and Flash Message Presentation?

If you are using registerable and confirmable, why is it that you only get registerable styled flash messages? Active Admin has munged my il8n config, and won't display my devise.en.yml file. I just want my people to know they are getting an…
pjammer
  • 9,489
  • 5
  • 46
  • 56
0
votes
1 answer

Failed to update email address using devise only in production environment

This one is driving me absolutely crazy. I tested updating user's email address on dev and staging environments, and it all worked fine. It updates unconfirmed_email field and sends out a confirmation email address. However, only in production…
yangtheman
  • 509
  • 4
  • 21
0
votes
1 answer

How to login user after sending confirmation?

I use devise to authenticate users on my website with the devise confirmable option. Now, when users sign up they do get a confirmation email, but I need user automatically logged in after sending confirmation. I want users to be able to sign in…
MID
  • 1,815
  • 4
  • 29
  • 40
0
votes
1 answer

Trying to create a new AdminUser in Rails: active_admin but cannot get email sent out

Hi I have added active_admin to my rails app. I would like to create a new AdminUser. Based on this documentation I tried to create a user and have the app send out an email. The user was created fine in the app, but no email was sent out. I was…
banditKing
  • 9,405
  • 28
  • 100
  • 157
0
votes
1 answer

RoR - Devise Confirmable email error

I'm using Ruby on Rails 3 with Devise and sending confirmation emails. The emails work correctly (as far as sending) but when I click on the Confirm my account link, it generates an error. Can anyone shed some light, or at least point me in the…
purplerice
  • 473
  • 1
  • 6
  • 22
0
votes
1 answer

Ruby on Rails - Devise Confirmable

Im a RoR rookie and am using rails 3.2.3. I've been using devise and so far it has been great, however, I've run into a problem. I have a User table with devise and a HABTM association with a Role table. I have the join table created and everything…
0
votes
1 answer

Rails: I have devise confirmable installed but I want a seperate mailer for contact me and other features

Rails 3 I currently have Devise confirmable installed and everything works great. My question is, How can I have a seperate mailer for other parts of the app? What I would like to have happen: I want to have a contact me form or I want to have other…
0
votes
1 answer

Rails 3 Devise Confirmation Routing Error

I ran into a strange routing problem with Devise. Recently I added email confirmation through Devise for my Rails app and I was trying to setup the confirmation/new action so that users could have their email confirmations re-sent…
Noz
  • 6,216
  • 3
  • 47
  • 82
1 2 3
16
17