Mastering Derived Tables in Rails
Hey fellow Rails developers! Ever found yourself wrestling with complex SQL queries that involve aggregations, subqueries, or needing to join against computed results? Today, we're diving into one…
Tag
Hey fellow Rails developers! Ever found yourself wrestling with complex SQL queries that involve aggregations, subqueries, or needing to join against computed results? Today, we're diving into one…
Portuguese version here: https://tech-pills.github.io/2025-09-18-Rails-Multi-Databases-e-Tenancy-como-fazemos-isso-em-2025/ Hey everyone! Hope you're doing well. So, you're building an application and you've reached that moment when you think: "Damn, how do I keep…
Before we dive into the topic of relationships between tables in a relational database, it’s worth revisiting the key concepts we explored in our previous post: Introduction to…
Image by jcomp Well, it's been a while. After a lot of time... I'm back! ( ̄▽ ̄)/ If you haven't read my last post, give it a look here:…
Read-only is a boolean setting. When true, it prevents an Active Record instance to be updated or destroyed. Although very helpful, there are a few cases where you…
Imagine the following situation: You were asked to create a new wallet feature to an application. This wallet must allow money transfer between users. Basically, you take money…