- Short Ruby Newsletter
- Posts
- Three Ruby Links #10
Three Ruby Links #10
Recommended articles about memoization, objects constellations and processing slow requests

If I were to recommend three articles published last week to read, here is what I would recommend:
1️⃣ “The intricacies of implementing memoization in Ruby” by Denis Defreyne

Excerpt from “The intricacies of implementing memoization in Ruby” by Denis Defreyne
If you ever wondered about memoization and various techniques, Denis writes a deep-dive article with many examples showing various techniques and the advantages and pitfalls of each one. You might discover a lot of angles that you never considered when thinking about memoization.
2️⃣ “Object Constellations” by Noel Rappin

Excerpt from “Object Constellations” by Noel Rappin
This article gives names to a couple of techniques or patterns that I encountered in multiple databases in various shapes or forms. I think Noel brings clarity about how to think about all these concepts, and I think the NullObject integration in this concept is important and helps in a lot of situations.,
3️⃣ “Process slow network requests with Turbo and Active Model” by Steve Polito

Excerpt from “Process slow network requests with Turbo and Active Model” by Steve Polito
Steve is showing here a good solution for processing slow operations and providing back-and-forth responses to the client. It is a good tutorial showing step-by-step how to implement this solution with easy-to-read code.
In case you are interested in various discounts or deals for Ruby developers, I am curating a list here: https://newsletter.shortruby.com/p/deals-for-ruby-developers-2024
Reply