The Rails™ 8 Way: ActiveRecord Deep Dive is the comprehensive, in-depth reference guide on Active Record. In this book, we go into the advanced topics of ActiveRecord, and we cover all important aspects of this vital part of Rails.
This book is the first edition where we spun off this part from the main book, The Rails™ 8 Way, and is not a tutorial or basic introduction to Ruby on Rails. For this book to be useful, you have to have a good understanding of Rails and preferably have an initial application already up and running. We will not cover migrations or any of the topics already covered in The Rails™ 8 Way.
We hope that the examples and explanations will serve as a source of inspiration for what can be accomplished by using ActiveRecord. Whether you are building complex data models, optimizing queries, or designing database-backed features, we hope that these demonstrations will inspire you to take advantage of the full potential of ActiveRecord in your projects.
These are the other two parts of the series:
- The Rails 8 Way — the comprehensive, authoritative reference guide for professionals delivering production-quality code using modern Ruby on Rails
- Building Progressive Web Apps with Rails — which will answer your question: How do I build a modern web frontend with Rails, entirely without an SPA framework like React, Angular, or Vue.