Skip to content

Instantly share code, notes, and snippets.

View farneman's full-sized avatar

Josh Farneman farneman

View GitHub Profile
@seabre
seabre / devise_login_rails_console.rb
Created June 1, 2012 20:51
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"}})