Home > Store > Programming > General Programming/Other Languages

The Rails 5 Way, 4th Edition

Register your product to gain access to bonus material or receive a coupon.

The Rails 5 Way, 4th Edition

Best Value Purchase

Book + eBook Bundle

  • Your Price: $53.99
  • List Price: $89.98
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

More Purchase Options

Book

  • Your Price: $39.99
  • List Price: $49.99
  • Estimated Release: Nov 17, 2017

eBook (Watermarked)

  • Your Price: $31.99
  • List Price: $39.99
  • Estimated Release: Nov 24, 2017
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

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.

About

Features

  • Update of the best-selling Rails book, The Rails Way, a desktop fixture for Rails developers everywhere
  • Written by widely-known expert and programming entrepreneur, Obie Fernandez
  • Learn to implement the newly-released Rails 5

Description

  • Copyright 2018
  • Dimensions: 7" x 9-1/8"
  • Pages: 1040
  • Edition: 4th
  • Book
  • ISBN-10: 0-13-465767-5
  • ISBN-13: 978-0-13-465767-7

The Rails™ 5 Way is the only comprehensive, authoritative guide to delivering production-quality code with Rails 5. Kevin Faustino joins pioneering Rails developer Obie Fernandez to illuminate the entire Rails 5 API, including its most powerful and modern idioms, design approaches, and libraries. They present extensive new and updated content on Rails API, web sockets using Action Cable, RSpec 3.4, Turbolinks 5.0, and more.
 
Through detailed code examples, you’ll dive deep into the Rails 5 code base, discover why Rails is designed as it is, and learn how to make it do exactly what you want. Proven in thousands of production systems, this book’s techniques will maximize your productivity and help you build more successful solutions. You’ll want to keep this guide by your computer—and refer to it constantly.
 
This guide will help you:

  • Build powerful, scalable, REST-compliant backend services
  • Program complex program flows using Action Controller
  • Represent models, relationships, CRUD operations, searches, validation, callbacks, and more in Active Record
  • Smoothly evolve application database schema via Migrations
  • Apply advanced Active Record techniques: single-table inheritance, polymorphic models, and more
  • Create visual elements with ActionView and partials
  • Optimize performance and scalability with view caching and Turbolinks 5.0
  • Master the highly productive Haml HTML templating engine
  • Make the most of Rails’ approach to session management
  • Secure your systems with authentication and authorization
  • Resist SQL Injection, XSS, XSRF, and other attacks
  • Integrate email services with Action Mailer
  • Enable real-time, web sockets based browser behavior using Rails 5’s ActionCable
  • Improve overall responsiveness using background processing
  • Use Asset Pipeline to simplify development, improve perceived performance, and reduce server burdens
  • Specify and test maintainable code using RSpec

Sample Content

Table of Contents

Foreword (to The Rails™ 5 Way)

Foreword (to The Rails™ 4 Way)

Foreword (to The Rails™ 3 Way) by David Heinemeier Hansson

Foreword (to The Rails™ 3 Way) by Yehuda Katz

Introduction

Acknowledgments

About the Author

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: Asset Pipeline

Chapter 20: Ajax on Rails

Chapter 21: Turbolinks

Chapter 22: Action Cable

Chapter 23: RSpec

Appendix A: Active Model API Reference

Appendix B: Active Support API Reference

Appendix C: Rails API

Index

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership