Skip to content

Instantly share code, notes, and snippets.

@seabre
Created June 1, 2012 20:51
Show Gist options
  • Save seabre/2855072 to your computer and use it in GitHub Desktop.
Save seabre/2855072 to your computer and use it in GitHub Desktop.
Devise Login Through Rails Console
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