The Rails 7 Way

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

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. 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. Build powerful, scalable, REST-compliant back-end services Program complex program flows using Action Controller Represent models, relationships, and operations in Active Record, and apply advanced Active Record techniques Smoothly evolve your database schema via Migrations Craft maintainable front-ends with ActionView Build your assets with one of the asset pipelines Optimize performance and scalability with caching and Turbo Improve your productivity using Haml templating Secure your systems against attacks like SQL Injection, XSS, and XSRF Integrate email using Action Mailer and Action Mailbox Improve responsiveness with background processing Build “API-only” back-end projects that speak JSON Store your files in the cloud via Active Storage Leverage Multiple Databases Write a reactive application with little to no JavaScript

Author(s): Lucas Dohmen, Tom Henrik Aadland and Obie Fernandez
Publisher: leanpub.com
Year: 2023

Language: English
Pages: 750

Title Page
Table of Contents
Foreword
About the Authors
Acknowledgments
Introduction
Rails Configuration and Environments
Routing
REST, Resources, and Rails
Working with Controllers
Cookies, Session Management and the Flash
Action View & Haml
Active Record Migrations
Working with Active Record
Active Record Associations
Working with Queries
Validations
Advanced Active Record
Forms
Internationalization
All About Helpers
Authentication and Authorization
Security
Caching and Performance
RSpec
Background Processing
Active Storage
Action Mailer and Action Mailbox
Asset Pipeline
Component-Based Views
JavaScript
Notes