Home > Store

The Rails 5 Way, Rough Cuts, 4th Edition

The Rails 5 Way, Rough Cuts, 4th Edition

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

Not for Sale

Also available in other formats.


  • Copyright 2018
  • Dimensions: 7" x 9-1/8"
  • Pages: 1088
  • Edition: 4th
  • Rough Cuts
  • ISBN-10: 0-13-465779-9
  • ISBN-13: 978-0-13-465779-0

This is the Rough Cut version of the printed book.

The Rails™ 5 Way is the only comprehensive, authoritative guide to delivering production-quality code with Rails 5. Pioneering Rails expert Obie Fernandez and a collection of leading Rails experts illuminate the entire set of Rails APIs, along with the idioms, design approaches, and libraries that make developing applications with Rails so powerful. Drawing on their unsurpassed experience and track record, they address the real challenges development teams face, showing how to use Rails to maximize your productivity.

Using numerous detailed code examples, the author systematically covers Rails key capabilities and subsystems, making this book a reference that you can depend on every day. He presents advanced Rails programming techniques that have been proven effective in day-to-day usage on dozens of production Rails systems and offers important insights into behavior-driven development and production considerations such as scalability. Dive deep into the subtleties of the asset pipeline and other advanced Rails topics such as security and scalability. The Rails 5 Way is your best guide for making Rails do exactly what you want it to do.

Sample Content

Table of Contents


Chapter 1: Rails Configuration and Environments

Chapter 2: Routing

Chapter 3: REST, Resources, and Rails

Chapter 4: Working with Controllers

Chapter 5: Working with Active Record

Chapter 6: Active Record Migrations

Chapter 7: Active Record Associations

Chapter 8: Validations

Chapter 9: Advanced Active Record

Chapter 10: Action View

Chapter 11: All About Helpers

Chapter 12: Haml

Chapter 13: Session Management

Chapter 14: Authentication and Authorization

Chapter 15: Security

Chapter 16: Action Mailer

Chapter 17: Caching and Performance

Chapter 18: Background Processing

Chapter 19: Ajax on Rails

Chapter 20: Asset Pipeline

Appendix A: Active Model API Reference

Appendix B: Active Support API Reference

Appendix C: Rails Essentials

Appendix D: Environmental Concerns

Appendix E: Essential Gems

Appendix F: Ruby Toolbox


Submit Errata

More Information