Blogs

Hanami architecture explained | Hanami Mastery - a knowledge base to hanami framework
First of all, let's clarify the term software architecture. Martin flower already wrote a dozen of posts about it, but in general, the architecture isn't really about MVC, Service objects, used ORM or things like that. MVC is not architecture - le...


Multiple databases in a single query in your Rails apps
Imagine that you are building a separate application for your e-commerce system dedicated to business intelligence. In other words, you want to calculate some stats for the orders. So you are going to create some new model, like OrderStat(s), and ...



Speeding up Rails 7 Controller Actions using ActiveRecord load_async
The queries are executed synchronously, which mostly isn’t a huge concern. But, as the database grows larger in size, the response time of requests is getting longer. A significant part of the query time is often just I/O waits. Since these two qu...


