Devise: Manually confirm existing account

Created on 7 Feb 2012  路  5Comments  路  Source: heartcombo/devise

I'm still running my app locally and I have my test account I created before. I just added the :confirmable feature to my database and now I can't login using my test account. Is there a way to manually confirm that account?

The fields for that entry say: confirmation_token: nil, confirmed_at: nil, confirmation_sent_at: nil, unconfirmed_email: nil

Most helpful comment

In my tests .confirm! returns undefined method confirm!, but .confirm does the trick.

All 5 comments

Call .confirm!in the model. And please use the mailing list for questions, the issues tracker is for _issues_.

Sorry, where do I access the mailing list?

In my tests .confirm! returns undefined method confirm!, but .confirm does the trick.

Try the Letter Opener gem for testing mailers locally.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

emn178 picture emn178  路  4Comments

spaquet picture spaquet  路  3Comments

cheung-chifung picture cheung-chifung  路  4Comments

Pedroknoll picture Pedroknoll  路  3Comments

ragesoss picture ragesoss  路  3Comments