Multiple axles for troubleshooting.
First (obvious :-)), which you activated for confirmation in the user model
devise : :confirmable
Then check that the following columns are defined in your database and in your model (similarly if you are on Mongoid with a different type)
## Confirmable t.string :confirmation_token t.datetime :confirmed_at t.datetime :confirmation_sent_at # t.string :unconfirmed_email # Only if using reconfirmable
And finally (I donβt know that this applies to you and makes the problem), but confirmation was confirmed in 2.0
In addition, several configuration parameters have been renamed or deleted:
Devise.confirm_within has been renamed Devise.allow_unconfirmed_access_for;
What then gives you the rails console for the new user just built?
Gotta give something like
User.last => #<User .... email: " youremail@example.com ", confirmation_token: "abch76UfqHBBxHw97123", confirmed_at: nil, confirmation_sent_at: 2012-02-10 11:06:41 UTC, unconfirmed_email: nil, ....>
And the link you received (which you can also manually copy in the browser manually, should look like (and match the confirmation token above)
<p><a href="http://localhost:5000/users/confirmation?confirmation_token=abch76UfqHBBxHw97123">Confirm my account</a></p>
The user in the console must be changed accordingly.
User.last => #<User .... email: " youremail@example.com ", confirmation_token:nil, confirmed_at: confirmed_at: 2012-02-10 11:28:04 UTC, confirmation_sent_at: 2012-02-10 11:06:41 UTC, unconfirmed_email: nil, ....>
If while copying the link the browser still doesnβt work, can you copy the last lines of the logs?
around
20:36:51 web.1 | Started GET "/users/confirmation?confirmation_token=abch76UfqHBBxHw97123" for 127.0.0.1 at 2012-02-10 20:36:51 +0900 20:36:51 web.1 | [127.0.0.1] Processing by Devise::ConfirmationsController#show as HTML 20:36:51 web.1 | [127.0.0.1] Parameters: {"confirmation_token"=>"abch76UfqHBBxHw97123"}