• Beautiful Ruby

Code

Learn Ruby the Beautiful Way

Superform vs Rails form helpers: complex select tags with groups

Get precise control over select and option tags with Superform

Superform vs Rails form helpers: simple select tags

More control over select and option tags with Superform

Turbo SwiftUI

A dream that might be coming true

Markdown Referral Code

Automatically inject referral codes into markdown content

Phlex Turbo Layouts

Turbo Layouts in Phlex

Enumerator

A quick way to create multiple Enumerables

Service Objects

Not your average method masquerading as a class behind a #call method

Don't blame your users' browser

Restricting websites to modern browsers can cause headaches

Content Paywall

A stack of components and parsers to protect locked content

Markdown Image Tags as YouTube and Embed Blocks

Abuse markdown image tags to easily embed YouTube videos and embedded resources in documents

Simple Phlex Class Variants

Create 10's of components with slight variations in their class names

Phlex Kits

A collection of Phlex components and utilities

A Phlex table abstraction

HTML table and hyperlink abstractions built with Phlex, Superview, and Superlink

PhlexML

Build content pages with Phlex

Phlex Kits in Erb

Write less code to render Phlex components from Erb templates

How I "Service Object"

Where I put business logic in a Rails application

Phlex appends strings

Understanding how Phlex handles string concatenation

Beautiful Ruby

Social

  • YouTube
  • Github
  • Bluesky
  • Twitter

Trust

  • Terms
  • Privacy