Beautiful Rails

A comprehensive video course on composing Rails UI with Phlex Components, Turbo, Stimulus, and Superview

Do you ever feel like there should be an easier way to snap pieces together to build UIs in Rails? Have you felt lost in the sea of ERB templates, partials, and helpers? Have you tried to tame it, but got burned with bad or opaque abstractions?

Building Rails front-ends should be a joy, not a chore.

Phlex 🤝 ERB

ERB is awesome. It’s flexible, intuitive, and has served Rails well for decades. But as your app grows, do your views stay easy to reason about? Are your templates truly simple or just familiar?

Phlex and Superview don’t replace ERB. They work alongside it, letting you gradually introduce more structure without breaking your flow.

Don’t get burned 🔥 by bad abstractions 🙅‍♀️

Rails devs have been promised “better ways” before—only to end up with DSL hell, overengineered APIs, and a mess worse than what they started with. This course is different.. No magic, no bloated layers of indirection—just clean, predictable, maintainable Rails views that grow with your team.

For Those Who Already “Get” Components

You already know components make sense. You’ve seen them work in React, Vue, and elsewhere. Maybe you’ve even dabbled with ViewComponent. But how do you do it properly in Rails?

This course will show you how to apply component-based UI patterns to Rails the Rails way—without sacrificing the elegance of the framework.

For Teams Incrementally Moving Away from ERB

Your Rails app is built on ERB, and rewriting everything at once isn’t an option. The good news? You don’t have to.

This course will show you how to introduce Phlex and Superview incrementally, allowing you to modernize your app without a painful migration.


Module 1: Introduction to Component-Based Rendering in Rails

Lesson 1: Why Rails Views Need a Better Approach

Lesson 2: Setting Up Your Environment


Module 2: Deep Dive into Phlex

Lesson 3: Building Your First Phlex Component

Lesson 4: Composing Complex Views with Phlex


Module 3: Superview – Automating Component Rendering

Lesson 5: Hacking Rails Controller Actions for Component Rendering

Lesson 6: Rendering Phlex and ViewComponent Classes with Superview


Module 4: Advanced Rails Controller Techniques

Lesson 7: Building Bulk Actions with method_for_action

Lesson 8: Extending Superview for Custom Use Cases


Module 5: Best Practices for Scaling Component-Based Rails Apps

Lesson 9: Organizing Your Component Library

Lesson 10: Performance Considerations for Component-Based Rendering


Module 6: Putting It All Together

Lesson 11: Refactoring a Traditional Rails App with Phlex and Superview

Lesson 12: Final Project – Building a Scalable Rails App with Phlex


Course Wrap-Up


Who This Course is For

âś… Rails developers looking to simplify and scale frontend rendering âś… Engineering teams working on large Rails applications âś… Developers with training budgets who want to level up their Rails view layer âś… ERB lovers who want to make it more manageable âś… Skeptics of magic-heavy abstractions âś… Teams with legacy Rails apps who want a smooth transition to components


Pricing and Access