Название: The Rails 7 Way
Автор: Lucas Dohmen, Tom Henrik Aadland, Obie Fernandez
Издательство: Leanpub
Год: 2023-05-04
Страниц: 750
Язык: английский
Формат: pdf (true), epub
Размер: 29.4 MB
The Rails 7 Way is the comprehensive, authoritative reference guide for professionals delivering production-quality code using modern Ruby on Rails. It illuminates the entire Rails 7 API, its most powerful idioms, design approaches, and libraries. Building on the previous editions, this edition has been heavily refactored and updated. It features entirely new chapters on Action Mailbox, Active Storage, asset pipelines, ViewComponent, and Turbo. Through detailed code examples, you’ll dive deep into Ruby on Rails, discover why it’s designed as it is, and learn to make it do exactly what you want. Proven in thousands of production systems, the knowledge in this book will maximize your productivity and help you build more successful solutions. Rails 7 is also a significant change for jаvascript in Rails: From a new approach to the asset pipeline (without Node by default and offering a wide range of choices) to replacing Turbolinks and UJS with Turbo and Stimulus. The new autoloader Zeitwerk introduced in Rails 6 as an option now is the only choice. To make the most out of this book, you should be at least somewhat familiar with how to bootstrap a Rails application and the MVC (Model-View-Controller) architectural pattern.