December 2025
Intermediate to advanced
452 pages
9h 7m
English
In this chapter, we touch on the topic of user notifications and how to organize the corresponding code in a Rails application. We start by discussing the built-in abstraction to send emails—Action Mailer. Then, we demonstrate how adding notification channels increases the code base’s complexity and how we can tackle this complexity by introducing a new abstraction layer (with and without third-party libraries). Finally, we talk about the part of the domain model responsible for managing notifications.
We will cover the following topics:
This chapter aims to familiarize you with ...
Read now
Unlock full access