What this book covers
Chapter 1, Rails as a Web Application Framework, provides a high-level overview of the framework and its core components specific to it being a tool for building web applciations
Chapter 2, Active Models and Records, focuses on the Rails model layer and how to better leverage its building blocks, such as Active Record and Active Model, to extract responsibilities and prevent God objects.
Chapter 3, More Adapters, Less Implementations, focuses on the design patterns used by Active Job and Active Storage.
Chapter 4, Rails Anti-Patterns?, discusses Rails’ controversial features, such as callbacks, concerns, and globals.
Chapter 5, When Rails Abstractions Are Not Enough, focuses on the Service Object phenomenon in Rails and introduces layered architecture principles.
Chapter 6, Data Layer Abstractions, focuses on extracting data manipulation logic (querying and writing) from models.
Chapter 7, Handling User Input outside of Models, provides an overview of abstraction layers to move user input handling out of models, such as form and filter objects.
Chapter 8, Pulling Out the Representation Layer, focuses on abstractions used to prepare model objects for displaying in the UI, for example, presenters and serializers.
Chapter 9, Authorization Models and Layers, focuses on authorization aspects and the corresponding abstractions.
Chapter 10, Crafting the Notifications Layer, focuses on extracting an abstraction layer to handle logic related to user notifications (email, SMS, and so on.).
Chapter 11, Better Abstractions for HTML Views, discusses abstractions to maintain HTML templates in Rails applications.
Chapter 12, Configuration as a First-Class Application Citizen, discusses the problem of configuring web applications.
Chapter 13, Cross-Layers and Off-Layers, focuses on Rails application infrastructure aspects, such as logging and monitoring, and provides examples of abstraction-driven service extraction.