Notes to self

Notes to self.

Latest

Combining multiple sitemaps with a sitemap index

What if we need to combine multiple sitemaps for a main domain or subdomain? Here’s how to do it by creating sitemap index.

Setting up Cloudflare R2 buckets for Active Storage

Rails comes with a built-in support for saving and uploading files to S3 and S3-compatible storage services in Active Storage. Here’s how to set up Cloudflare R2.

Adding button loader to Turbo-powered forms

Turbo is a great way to build user interfaces, but most Turbo forms have to wait for the server response. Here’s how I am adding a small loading spinner to the submit buttons to improve the UX.

Auto-saving Rails forms with Turbo Streams

Here’s how to implement autosaving for inline input fields the Hotwire way.

Business Class 2.0 with Rails 8, Pay 8, Solid, Kamal 2, and fancy generator

The Ruby on Rails template Business Class gets a whole new edition. Rails 8, new licencing, and improved CRUD generator.

by Josef Strzibny
RSS