
Polymorphic joins in Active Record
Feb, 2022
Part V of the series - Understanding Active Record joins - How can we join polymorphic associations?
Feb, 2022
Part V of the series - Understanding Active Record joins - How can we join polymorphic associations?
Jan, 2022
Postgres has a really handy schema from which you can retrieve information about your database. Here's how you can use it to get all tables with a specific column name, and when this might be useful.
Nov, 2021
In this article, I will share how to implement pagination without gems. It covers the most common scenario: paginating an ActiveRecord collection and preparing the pagination metadata needed to build a simple frontend component.
Apr, 2021
Part IV of the series - Understanding ActiveRecord joins - How can we access data from joined associations?
Mar, 2021
Part III of the series - Understanding ActiveRecord joins - How can we filter an ActiveRecord collection based on multiple associations?
Mar, 2021
Part II of the series - Understanding ActiveRecord joins - What is a left outer join and how can it be used in ActiveRecord?