Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save karimmtarek/0af8dc3967cc3b5dbbb3 to your computer and use it in GitHub Desktop.
Save karimmtarek/0af8dc3967cc3b5dbbb3 to your computer and use it in GitHub Desktop.
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