Created
June 3, 2012 03:28
-
-
Save andruby/2861712 to your computer and use it in GitHub Desktop.
Bypass Devise email reconfirmation from console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
u = User.find_by_email("[email protected]") | |
u.email = "[email protected]" | |
def u.postpone_email_change?; false; end | |
u.save |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment