Simulating a signed in user in Rails using sessions
medium.com