Learn RailsBy Building
Discover vulnerabilities, build fixes step by step, then stress-test your solution. From first rails new to database sharding.
levels
acts
per level
Every Level, Same Rhythm
Observe the problem, build the fix, then prove it works. No lectures, no walls of text.
Observe
Find what's broken
Click pipeline stages, fire API probes, and discover vulnerabilities through exploration.
Build
Construct the fix
Install gems, run generators, pick code snippets. Build the complete solution step by step.
Stress Test
Prove it works
Fire requests at your solution. Watch nodes flip green and red. Toggle auto-fire for the crescendo.
Discover Problems
Through Exploration
No one tells you what's wrong. You fire API probes, click pipeline stages, and piece together the vulnerabilities yourself. Each discovery lights up the checklist. Find enough, and the "Build the Fix" button unlocks.
What You'll Learn
From rails new to production architecture
Rails Fundamentals
MVC architecture, ActiveRecord, validations, callbacks, routes, and the full request lifecycle.
Security & Auth
Authentication, authorization with Pundit, strong params, CORS, and encrypted attributes.
Query Optimization
Detect N+1 queries, add indexes, use eager loading, counter caches, and pagination.
Caching & Performance
Fragment caching, HTTP caching, CDNs, and Solid Cache for database-backed stores.
Background Jobs
Offload work with Solid Queue, handle webhooks, schedule recurring jobs, and ensure idempotency.
Scale & Architecture
Multi-database, state machines, modular monolith, domain events, and database sharding.
Learning Path
56 levels across 8 acts, from zero to production architect
Foundation & Security
Build a working API from scratch, then lock it down with auth, authorization, and strong params.
Clean Code & Performance
Refactor with service objects and concerns, then fix N+1 queries, add caching, and optimize.
Production & Reliability
Ship real features: file uploads, real-time, webhooks. Then harden with rate limiting and safe migrations.
Scale
Read replicas, sharding, multi-tenancy, modular monolith, domain events, API gateway, and the capstone.
Ready to Build?
Start with rails new and work your way to architect.