Skip to content

Instantly share code, notes, and snippets.

@seabre
Created June 1, 2012 20:51
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • 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"=>"users@email.com", "password"=>"users_password"}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment