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”.

Ruby Metaprogramming - unraveling the world!

15-03-2023 7 minutes reading.

Some days ago I’ve tried to explain the concept of Metaprogramming to a friend who is starting in the IT area and is studying Ruby as her first language, my influence by the way, but I wasn’t satisfied with what I managed to teach about this subject.

I follow this motto: “You really understand something when you are able to comfortably teach it”. So here I’m, teaching myself with this article.

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.