Browsing Tag
rails
30 posts
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…
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:…
How to Add Disabled State to Buttons with Turbo & Tailwind CSS
This post was originally published on Rails Designer. If you’ve used Rails’ UJS, which is now defunct, you…
How Rails Powers PopaDex for Simplified Financial Planning
The current landscape of personal finance management is full of bloated apps, half of which have a business…
Data-Attributes Magic with Tailwind CSS & Stimulus
This article was originally published on Rails Designer Changing the way some, or all, UI elements on an…
How to Properly Structure Stimulus Controller
This article was previously published on Rails Designer. Over the years many articles have been written about organizing…
Why choose ViewComponent over Rails partials
ViewComponent, inspired by React, was introduced at RailsConf 2019. It gives better data flow, easier to test views…
Publish/Subscribe with Sidekiq
Introduction Our Rails application is an old monolith that relies heavily on after/before callbacks to trigger code that…
How to Setup RSpec on a Rails Project
At the time of writing this article using ruby 3.2.0 & Rails 7.1.2 Let’s get started… 1. Create…