Table of Contents
Preface
Part 1: Exploring Rails and Its Abstractions
1
Rails as a Web Application Framework
Technical requirements
The journey of a click through Rails abstraction layers
From web requests to abstraction layers
Rack
Rails on Rack
Rails routing
C for controller
Beyond requests – background and scheduled tasks
The need for background jobs
Jobs as units of work
Scheduled jobs
The heart of a web application – the database
The trade-off between abstractions and database performance
Database-level abstractions
Summary
Questions
Exercises
Further reading
2
Active Models and Records
Technical requirements
Active Record overview – persistence and beyond
Object-relational mapping
From mapping to the model
From model to anything
Active ...
Get Layered Design for Ruby on Rails Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.