Rails App from Zero to Oauth
From $ rails new
to successfully authorized with Oauth against Twitter.
Here are the individual commits.
Videos of writing the code
- New app through beginning of sign in with Twitter https://vimeo.com/162817133
- Signing in and out, accessing current user https://vimeo.com/162817134
- Managing secret keys with dotenv https://vimeo.com/162817135
Deviations from the presentation
- We need to reset capybara between tests, or it will retain the same set of cookies, which corresponds to keeping the user logged in, a state you should eplicitly request.