I’ve been building a Hotwire Native iOS app with a Rails backend and recently created a custom bridge component called ApproachMapBridgeComponent. The goal was simple: when users click a button in the web view, it should open a native map modal in the iOS app. But instead of a working feature, the button did absolutely...
I'm working on a Hotwire Native iOS app, and I wanted the app to have that slick new Liquid Glass tab bar, which means that is is completely transparent and the content flows under and below the bottom tab bar. Here's how I updated my existing tab bar to have the modern Liquid Glass UI...
Rails 8 introduced a subtle but significant change to the stringify_keys method in ActiveSupport. Previously, stringify_keys only converted symbol keys in a hash to strings, leaving other key types such as integers untouched. Starting with Rails 8, the method converts all keys to strings, including numeric and other non-symbol keys. While this change simplifies behavior...
If you ended up on this page, you are either reading my technical blog or have been forwarded here via a domain name that I own...
As a professional Ruby on Rails developer based in Boston, I bring over a decade of professional experience building, scaling, and modernizing web and mobile applications. My work has consistently centered on solving complex technical challenges while keeping products elegant, maintainable, and fast. In my current role, I help lead the modernization of a mission-critical...
One of my favorite Ruby idioms is the Builder-to-Proc pattern. It takes advantage of Ruby’s ability to convert objects into callables through to_proc, letting you pass a class directly to map and have it act like a builder for each element. Imagine you are working with raw data from a third-party API in JSON or...
I recently ran into an annoying layout quirk while building an ‘infinite-scroll' type interface. The page loads data lazily as you scroll through a long list of posts, which works beautifully when there is indeed data to display. But in the scenario where there are no posts, the empty Turbo Frame was still claiming space...
If you are using UUIDs as primary keys in your Rails application, you may find it tedious to specify them in every single migration. Fortunately, Rails provides a clean way to set this configuration globally so that all new tables use UUIDs automatically. By adding a simple generator configuration to your config/application.rb, Rails will handle...
This weekend I explored NotebookLM, an AI-powered research assistant designed to work directly with your own materials. By uploading documents, PDFs, links, or videos, you can generate tailored outputs such as summaries, study guides, audio overviews, or even structured mind maps. To test it out, I chose the Rails 8 release notes, a resource that’s...
Rails 8 introduced a new rate_limit feature for controllers, which makes throttling requests much easier to implement and manage than that was back in the day. Instead of relying on middleware or third-party gems, you can now declare rate limits directly in your controllers and centralize how you respond when clients exceed them 🙂 A...