Mid-level Track Roadmap

Mid-level Rails interview questions

This course covers the Rails questions asked at mid-level, where interviewers move from defining a concept to choosing between trade-offs. It works through five areas: background jobs, caching and performance, transactions and locks, security, and testing strategy. Each lesson pairs concrete questions with what a strong answer contains, common mistakes, and code from a running Rails app, such as a uniqueness validation backed by a unique index. The course ends with a full mock interview that moves between all five areas in one conversation.

What you'll learn

  • ✓How mid-level answers are judged by the trade-offs they name
  • ✓Retries, idempotency and the enqueue-before-commit race in background jobs
  • ✓Low-level, fragment and Russian-doll caching, plus measuring before optimizing
  • ✓Transaction rollback rules, pessimistic and optimistic locking, and unique indexes
  • ✓CSRF, XSS, SQL injection, strong parameters, CSP and rate limiting
  • ✓Choosing test layers, testing enqueued jobs and database constraints, and handling flaky tests
Free preview · Lesson 1 6 min read

What mid-level means to interviewers

As a junior, you got asked "what is N+1, and how do you fix it?" As mid-level ("pleno" in Brazil), you get the same question with an extra clause bolted on. "You've got an index page that loads a course and each of its lessons. When do you reach for includes, when would you accept the extra queries…

Read the full lesson free →

Curriculum

7 lessons
Type to start searching...