Created
June 1, 2012 20:51
-
-
Save seabre/2855072 to your computer and use it in GitHub Desktop.
Devise Login Through Rails 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
ApplicationController.allow_forgery_protection = false | |
app.post('/whatever_my_user_model_is/sign_in', {"whatever_my_user_model_is"=>{"email"=>"[email protected]", "password"=>"users_password"}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment