Browsing Tag
ruby
63 posts
Use CSS’ `only-child` instead of `if/else` logic
This article was originally published on Rails Designer Rails developers are spoiled when talking about not needing to…
Inline Save and Add Another with Rails and Hotwire
This article was originally published on Rails Designer I recently wrote about how to add a “Save and…
5 UI Components Library for Ruby on Rails (in 2024)
This article was originally published on Rails Designer Over the past ten years many (HTML/CSS) UI components libraries…
9 things that 🚨Rubocop🚨 don’t want you to use
One day, I got lost in the Rubocop documentation. I was struck by a realization: there are many…
Shims in Web Development
Introduction In programming, a shim acts as a bridge between your code and an underlying system, allowing you…
When to use `link_to` and `button_to` in Rails
This article was originally published on Rails Designer This article about forms inside forms triggered a question from…
How to Create an Undo Action with Rails
This article was originally published on Rails Designer. An undo-action is a common UX paradigm in web-apps. You…
Shortcut your way through the terminal 🌀
TLTR Shortcut – record, save & execute your most used scripts in the terminal Example: sc fe be…
Rails Designer v0.11.0 released: new Command Menu
Version 0.11.0 was just released with three new components! Let’s jump right into what’s new at Rails Designer:…
Publish/Subscribe with Sidekiq
Introduction Our Rails application is an old monolith that relies heavily on after/before callbacks to trigger code that…