Brad Gessler
Brad Gessler
@bradgessler.com
I build stuff people want with Ruby—like BeautifulRuby.com, Terminalwire.com, TinyZap.com, Thingybase.com, LegibleNews.com, Sitepress.cc, and more. 🧑🏻💻 bradgessler.com 🏗️ rocketship.io 🌉 SF Bay Area
2.3K followers189 following1K posts
mruby 🤝 Ruby In my ongoing exploration of non-deterministic agents running along side deterministic code, I figured I'd see if I could use RubyLLM to run arbitrary ruby code inside of an mruby sandbox within the same process. It works! beautifulruby.com/code/enclave
Running AI agents as Unix executables that self-improve has been one of my wilder ideas lately. You can pipe agents: `think weather | think song` The agent eventually writes a determinative script after enough runs for simple programs. It’s as secure as a browser too. thinkingscript.com
Video demo at youtu.be/IxsmI8ajL50?... if you’re not into installing stuff without seeing it working. The script runs inside a JS sandbox that can only access things you approve.
Incorrectly sized Open Graph images commonly crop heads & logos in weird places. In this video I debug YC's redesigned site with og.plus/tools to show how to identify & fix incorrectly sized images. Of course sites that use og.plus don't have this problem because images are optimized per network.
I got tired of seeing people complain “RSpec and factories takes 14 min to run, minitest and takes 5s” so I’m starting to chip away at it. First order of business: created FixtureBot after figuring out I use FactoryBot not because of factories, but because I like the syntax. Might try sus next.
Second edition of creating Plan objects in Superfeature to display plan tables in a SaaS I’m working on, og.plus. The objects can upgrade to other plans, control downgrade flow, set prices in stripe, require payment, and more. Next one I’ll cover Feature & Limit classes.
First YouTube video for OpenGraph+ about a macOS app I'm building to design and debug Open Graph images. Still waiting on Apple to approve the thing in Test Flight.
While working on OpenGraphPlus.com I got tired of how annoying it is working with full prices and discounts, particularly in views, so I created a gem with a Price object that makes it super easy to create discounts and have them display properly on your site. Next Black Friday will be easy! 😅
My first end-to-end demo of og.plus! You can finally get a sense for how it will integrate into websites to generate an Open Graph image per page, and you can control it all with CSS, meta tags, and HTML cache headers. As always, Rails is my first integration: opengraphplus.com/docs/rails 💅
I've been heads down for the past month cranking on og.plus, and for the first time ever I found LLMs were actually useful for creating production-grade apps, but not how you think ... and a far cry from "vibe coding". I share thoughts in the video & discuss the workflow I used to ship quality.
I've started using ChatGPT's Atlas browser to critique first-draft landing pages to find obvious errors and issues on og.plus. Overall I've found its useful to map out "completeness", but it will try to make you run in circles, is kinda slow, and requires copy & paste to work with other agents.
Girl Scout cookies and Phlex on Rails!? I'm sending people 4 boxes to any address in the US (can't ship i18n 🫠) for people who buy the course at beautifulruby.com/phlex After you purchase, I'll reach out to get your address & cookie preferences (real cookies 🍪, not browser cookies)
Ironically the Girl Scout website has a cookie banner on their cookie website 🤣 Flavors at www.girlscouts.org/en/cookies/c... You’ll buy the course, I’ll email you, you pick what flavors you want for your 4 boxes, give me your address, and then you’ll have some cookies and Phlex 💪
Phree Phlex videos are back! This one shows how to cram lots of Phlex components into one file with nested classes and endless method. I also kept the Black Friday deal going for a couple more days.
I ditched the 10 minute time-box for the videos so I wouldn’t have to be as rushed.
37 signals released the source code for their latest Rails SaaS called Fizzy. I did a source code read through video and wrote about it. I think I found 2 potential security issues along the way too. Enjoy! beautifulruby.com/code/fizzy
Last Ruby deals push, this time for Cyber Monday! I picked up a few more deals and listed them at the bottom of Friday’s list. There’s some great deals on software & lots of discounted courses if you have some training budget left in the tank this year. beautifulruby.com/articles/rub...
Gearing up for one last push on Cyber Monday! I picked up a few more deals that I put on the page. If there's any more please LMK today so I can include in my final Ruby deal push.
I collected all Ruby Black Friday deals I could find & posted them in one spot. Highlights include: $130 off @beautifulruby.com Phlex on Rails course $81 off @gorails.com annual subscription +20% @joemasilotti.com Hotwire native content Lots of @pragprog.com deals Enjoy! 🦃🔥💰
I collected all Ruby Black Friday deals I could find & posted them in one spot. Highlights include: $130 off @beautifulruby.com Phlex on Rails course $81 off @gorails.com annual subscription +20% @joemasilotti.com Hotwire native content Lots of @pragprog.com deals Enjoy! 🦃🔥💰
I've got a few more in the queue from the SF Ruby Conf. I'm definitely going to be shooting more of these in different locations with other Rubyists and people who are building cool stuff.
During the @sfruby.com conference I got a chance to walk with @adrianthedev.com, founder of @avohq.io, and talk about the business of selling self-hosted, installed software to developers. Turns out it's pretty challenging, but there's some upsides if you can figure out how to do it. 💪
Where are Ruby devs looking for Black Friday deals this season? I’ve got an $80 off BFD for the @beautifulruby.com Phlex on Rails course and want to get it in front of more Ruby developers. beautifulruby.com/phlex
Kicking off a BFD (Black Friday Deal) for @beautifulruby.com! Between now and Sunday, December 7, 2025 you can save over 20% off the course with an $80 coupon. To claim the deal, use the normal Stripe checkout flow at beautifulruby.com/phlex#invest
Today's phree @beautifulruby.com Phlex on Rails video reviews the most fundamental concept of @phlex.fun, creating HTML tags & attributes. One of the most powerful things about Phlex is how certain attributes, like class, style, and data, handle hashes & arrays, making Phlex great for components.
Today's phree @beautifulruby.com Phlex on Rails video reviews the most fundamental concept of @phlex.fun, creating HTML tags & attributes. One of the most powerful things about Phlex is how certain attributes, like class, style, and data, handle hashes & arrays, making Phlex great for components.
If you're wondering how I packaged up Ruby code into binaries people can run on Linux and macOS, Tebako is it. In this RTSFC I walk through the internals of Tebako, which is a lot of scripts that compile ruby, download gems into a package, and set entry points for your code.
Today's free Phlex on Rails video is all about rendering, which is very polymorphic in Phlex. Partials, strings, values, components, component classes, and collections all Just Work™ when passed into the `render` method.
Today's free Phlex on Rails video kicks off Unit 2, starting with the basics of a Phlex component!💪 If you're a Rails developer that's never heard of Phlex, you'll want to follow along this week as I premiere Unit 2.
Today's free Phlex on Rails video is the last in the introduction unit, "Why Components?" If you've got some training budget remaining this year, here's a $50 off checkout link beautifulruby.com/courses/phle...
Today’s free @beautifulruby.com Phlex on Rails video covers how the trio of Rails, Phlex, & Hotwire makes a productive framework for quickly building and shipping web apps. 💪🚞🔌 It’s geared more for people who are less familiar with the Rails stack. beautifulruby.com/phlex/overvi...
There's 50 days until Christmas and I have 45 Phlex videos. How about a Phlex on Rails video advent calendar? I'll do my best to post some videos from the Phlex course starting with "Why Phlex?" since the intro video is free. This one compares to ViewComponent if you're curious. Follow along!
I wrote about how pre-sold $13,000 worth of Phlex on Rails video course, some surprises I had along the way, open questions I have around the entire concept, and where I'd like to take @beautifulruby.com now that the first video course has been fully launched. 🚀
Has anybody used this? I'd personally be reluctant to use it in a project, which sounds crazy given how I'm a big fan of Phlex. For me the difference is @phlex.fun is barely an abstraction and stays "close the the HTML". Opal had a lot going on, but I couldn't tell that's because of JS or Opal.
Did you know there's a project called Opal that makes it possible to write JavaScript in Ruby? I'm not sure if it's a good idea or not, but it won a Ruby award so I decided to dive in and Read the Friendly Source Code. www.youtube.com/watch?v=YtRO...
Brad Gessler reposted
I wrote about the designing the perfect type signature syntax in Ruby.
Official launch article for the Phlex on Rails video course. Huge thanks to @joel.drapper.me for creating @phlex.fun. It was fun making the course for it. I hope this inspires more people to use Phlex so we can all benefit from building UIs with components without React JS bloat. 💪🚀
I think @joel.drapper.me gets enjoyment out of the names he chooses for his gems 😂
This is about half way down the 🕳️🐇 for async Ruby. These repos are incredibly understandable if you know the HTTP specs and are prepared to clone a bunch of repos and open them in the same editor workspace. It's really good stuff.
Going deeper down @ioquatix.bsky.social's async Ruby rabbit hole: I RTSFC async-http, a gem that implements http for the Falcon web server that Shopify recently deployed to production. Turns out it's a few different repos & I tried my best to read 1 in under 10 min. www.youtube.com/watch?v=-IL6...
In retrospect, it was kind of ridiculous that I shoot my first paid video course outside, but it was so much fun. 🤣 I highly recommend coding outside if you can swing it. You'll feel way better at the end of the day and the glare isn't really that bad. Go outside and touch grass! 🌱
I made the Phlex on Rails video course off-the-grid with Starlink internet, solar power, and a MacBook Air. Everything fit in a 35 lb backpack. This video shows how I built the portable dev setup & recording studio. I have a list of all the gear at beautifulruby.com/articles/por... ✌️
I’ve been looking forward to showing off this source code because it’s so well written. Last week Shopify announced they deployed Falcon to production, which gave me an excuse to dive into it and RTFSC. 🤿
Shopify deployed Falcon, an async IO Ruby web server that’s been a labor of love by @ioquatix.bsky.social, to a production Rails app. I’ve been using it for a while in my Rails app and love it, so of course I had to RTFSC. It’s very beautifully written code, and fast too. Enjoy! ✌️
Finished the last videos and I have a registration system in place. The old paywall was a 🔓 in the URL, like this `https://beautifulruby.com/🔓/phlex` 🤣 Now the browser has to be activated via email, and I'm using SQLite on the server to store course & registration data.
Week 12 update: last video is done! I still have to finish editing, encoding, and uploading, then finish the copy. Prices are still $289 and will go up to $329 when that's all done. beautifulruby.com/articles/phl...
Every time I have to do this, I think about @indirect.io's `rv` presentations at the @sfruby.bsky.social meetups.
Remember when I launched Supermail last week as an easier way to work with emails in Rails? Turns out the simplified abstraction made it easy for me to generate mailto: links. I also forgot to mention it works alongside ActionMailer for those with existing Rails apps. Video & code 👇
I got 🤬 at ActionMailer in Rails and cranked out a way to do email in Rails with better ergonomics calls Supermail. There's not much to it other than its a much more intuitive way of creating, managing, and sending emails in Rails. beautifulruby.com/code/superma...
Sharing my toolkit for how I debug my computer in the morning before I get to work on @beautifulruby.com. youtu.be/tv3BTKgz2uY