Understanding Rails

Understanding Rails · On the job

On the job

Most of a Rails job is working in an app someone else wrote, on tickets someone else wrote. Here you work real tickets in Switchback, a small Rails app, the way the job works them. Then you watch a senior work the same ticket, dead ends and all.

How a ticket works

  1. Refine it on its page. Ask the reporter questions, write what done looks like and what's out of scope, then compare with a senior's version.
  2. Fork Switchback on GitHub, and turn on Actions in your fork. GitHub leaves them off in a new fork.
  3. Work it on a branch named for the ticket, like 001-notes-vanish: a failing test first, then the code that makes it pass.
  4. Open a pull request inside your fork. CI runs the ticket's acceptance tests and reviews it.
  5. Watch a senior work it in the ticket's episode, and compare.

Who it's for

You know the Rails basics: routes, controllers, models and views. If you've watched Season 1 and Season 2, you're ready.

You don't need the rest of the series first: you can jump straight here. Each ticket lists the episodes that help to know first.

The tickets