CallMarx.dev

Today I learned: Etags in Rails

21-06-2024 4 minutes reading.

Recently I’ve been studying about Browser caching and noticed that I didn’t really know how to use Etags in Ruby on Rails. Then came the excellent opportunity for this “Today I learned”.

Tutorial: Rails7, Tailwind, and Hotwire - Part 3

30-06-2022 20 minutes reading.

In the previous part of this tutorial, I explained how to use partial HTML rendering with turbo_stream from Hotwire Turbo, allowing us to display newly inserted or deleted cards in our humble Kanban prototype. Now, I’ll delve into the Hotwire Stimulus package.

Tutorial: Rails7, Tailwind, and Hotwire - Part 2

19-12-2021 11 minutes reading.

In the previous part of this tutorial, I explained how to customize and use Tailwind without a single line of CSS and JavaScript. Now, I’ll discuss a bit about the Hotwire Turbo package.

Tutorial: Rails7, Tailwind and Hotwire - Part 1

09-12-2021 11 minutes reading.

In the previous part of this tutorial, I explained how to set up Rails 7, its new options, and how I “dockerized” the PostgreSQL and Redis databases. Now, I’ll focus a bit on Tailwind.