Interactive Learning Platform

Learn RailsBy Building

Discover vulnerabilities, build fixes step by step, then stress-test your solution. From first rails new to database sharding.

56interactive
levels
8progressive
acts
3phases
per level
Three-Phase Flow

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.

Probe Terminal
>DELETE /products/42 as visitor
HTTP/1.1 204 No Content
No authorization check. Any user can delete any product.
Product #42 destroyed.
>GET /products as stranger
HTTP/1.1 200 OK
Returns all products including drafts. No scope filtering.
12 products returned (4 are drafts)
>
Observe Phase

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.

Nodes turn red on breach
Pulsing indicators guide you
No wrong answers, just exploration
Curriculum

What You'll Learn

From rails new to production architecture

Rails Fundamentals

MVC architecture, ActiveRecord, validations, callbacks, routes, and the full request lifecycle.

has_manyvalidatesresources

Security & Auth

Authentication, authorization with Pundit, strong params, CORS, and encrypted attributes.

has_secure_passwordauthorizeparams.expect

Query Optimization

Detect N+1 queries, add indexes, use eager loading, counter caches, and pagination.

includes()add_indexcounter_cache

Caching & Performance

Fragment caching, HTTP caching, CDNs, and Solid Cache for database-backed stores.

Rails.cacheSolid CacheETag

Background Jobs

Offload work with Solid Queue, handle webhooks, schedule recurring jobs, and ensure idempotency.

Solid Queueperform_laterActiveJob

Scale & Architecture

Multi-database, state machines, modular monolith, domain events, and database sharding.

Multi-DBShardingPackwerk
Progression

Learning Path

56 levels across 8 acts, from zero to production architect

1-2
Foundation15 levels

Foundation & Security

Build a working API from scratch, then lock it down with auth, authorization, and strong params.

rails newPundit
3-4
Growth16 levels

Clean Code & Performance

Refactor with service objects and concerns, then fix N+1 queries, add caching, and optimize.

includes()Rails.cache
5-6
Production15 levels

Production & Reliability

Ship real features: file uploads, real-time, webhooks. Then harden with rate limiting and safe migrations.

Active StorageSolid Cable
7
Scale8 levels

Scale

Read replicas, sharding, multi-tenancy, modular monolith, domain events, API gateway, and the capstone.

ShardingCapstone

Ready to Build?

Start with rails new and work your way to architect.