Pre-order

Phlex on Rails

Tame the Rails frontend with Phlex 💪 and Hotwire

Do you feel like there should be an easier way to snap pieces together to build UIs in Rails? Have you tried to tame a large Rails frontend, but got burned with bad abstractions or a mess of ERB templates, partials, and helpers?

Phlex brings sanity & joy back into building user interfaces in Rails.

This video course teaches you how to use Phlex to build high quality Rails frontends that you can use with existing Erb apps or go all-in and build from the ground up with components.

Meet your guide, Brad Gessler

I built my first large Rails app when I founded Poll Everywhere. I scaled it up from a small app to one used by millions of people that processes billions of responses.

As CTO, I learned many lessons the hard way running a team of 35 Rails developers, designers, and product managers that I'll share with you so you can avoid the costly mistakes I made. Not only will you learn how to build excellent Rails applications—you will also know how it fits into the bigger picture of your team and organization.


Here's the lesson plan 🧑🏻‍💻

Unit 1

Getting started

This course will teach you the tactics and strategies for building user interfaces with Phlex, Rails, and other tools. In addition to the mechanics of Phlex, we’ll take a step back and ask “Why” and “How will this improve the development workflow?”

Unit 2

Component fundamentals

Phlex components are self-contained Ruby classes of a user interface that can be “snapped” together to build a more consistent, higher quality user experience. We’ll explore how you can use the full power of the Ruby programming languages to compose UIs for your Rails application.

Unit 3

HTML in Phlex

Phlex is a lightweight HTML abstraction. Understanding how it maps to the generated HTML tags, attributes, comments, and other entities is foundational to creating quality components. We’ll also cover the built-in security and language server features in Phlex that make it a joy to use Phlex in your favorite code editor.

Unit 4

Existing Rails Apps

Phlex components can gradually be built and rolled-out in Rails apps with Erb, Haml, Slim templates and ViewComponents. These videos will show how to install Phlex into an existing Rails app, how to organize view files, and give you a strategy to gradually migrate your views into Phlex components.

Unit 5

Phlex and Hotwire

Phlex components encapsulate views and fragments making them a perfect way to organize and compose views in the Turbo stack. Use them with Turbo Frames, Turbo Streams, and Turbo Pagemorphs and create a more responsive user interface.

Unit 6

Tailwind CSS and utility frameworks

Components work great with CSS utility Frameworks, like Tailwind CSS. We’ll install Tailwind CSS in a Rails app and integrate it with Phlex components

Unit 7

Composing forms

Forms are a critical part of web applications, but they’ve traditionally been difficult to customize in Rails, especially with Phlex. Superform is a powerful form builder library built completely on Phlex that makes it possible to build different types of forms in your apps and use them with ease.

Unit 8

Pure Phlex

We’ll go all-in on Phlex and build a Rails app completely out of Phlex components. You might not take it this far, but seeing it in action is a great way to understand how layouts, views, controllers, and components work together to create elegant UIs.


Invest in yourself 🤗

Pay once for lifetime access to the video course. No subscription required.

Pre-order video course for $379 $249

You save 34% and get to work with Brad to tailor course content to your learning goals

  • Tame Erb, Haml, and Slim views in existing Rails apps with Phlex components
  • Learn how to use only Phlex components to build Rails apps without Erb
  • Understand how components clean-up architecture, improve reusability, simplify testing, and increase velocity
  • Watch videos as soon as they're recorded and published
  • Access to all course videos, source code, and text when it's finished
  • Lifetime access to updates and new content

Early adopter discount 🤗

Get in early, lock-in a lower price, and set the direction of the course.

  • Pre-order

    The first 50 people who order will get to work with Brad to shape the direction of the course.

    Pre-order video course


  • Early adopter

    After the first 50, prices will go up to $289 between when the videos are being worked on and when they're all published.



  • Grand Opening

    The course will be discounted for the grand opening! The first 100 people will get a $50 discount off the full price of the course.



  • Mainstream

    Course is fully published and full price.



Frequently asked questions

How long will it take to develop the course?

Before video production begins, Brad will work with people who pre-order to set the final lesson plan for the class. This ensures you get a class that's most relevant to the problems you're trying to solve.

When video production for the course starts, videos will be published with the lesson plan as soon as they're finished.

What if I'm not satisfied with the course?

First, please share what could be improved. If you're still not satisfied, you can get a refund.

Are there discounts?

I get it, $379 is easier to spend when it comes out of a training budget or is a business expense. If you're a student or that's not you, reach out to somebody@beautifulruby.com and let's talk.

Can I get a receipt?

Of course! You'll need it for your expense reports or tax documentation. After you pay for the course you should get a receipt over email. You can also request one at anytime and we'll email it your way.

What does "lifetime access" mean?

You'll always be able to access this website to watch videos. If for some reason the website needs to be taken down, you'll be offered a downloadable format that you can store on your own device.

Who is this course for?

This course is perfect for anyone who wants to build maintainable, testable, and reusable Rails frontends using Phlex components.

  • Rails developers frustrated by tangled ERB, Haml, or Slim views
  • Frontend engineers looking to adopt component-driven UI patterns in Rails
  • Team leads and architects seeking scalable, consistent UI abstractions
  • Full-stack developers aiming to streamline collaboration between backend, UI, and design
  • Beginners eager to learn modern Rails UI development best practices

Checkout in minutes

Use Apple Pay, Amazon Pay, or your credit card to order this course and we'll email you the receipt.

Pre-order video course for $379 $249