The co-op bookstore for avid readers
Book Cover for: The Rails 5 Way, Obie Fernandez

The Rails 5 Way

Obie Fernandez

The "Bible" for Rails Development: Fully Updated for Rails 5

"When I read The Rails Way for the first time, I felt like I truly understood Rails for the first time."

--Steve Klabnik, Rails contributor and mentor

The RailsTM 5 Way is the comprehensive, authoritative reference guide for professionals delivering production-quality code using modern Ruby on Rails. Obie Fernandez illuminates the entire Rails 5 API, its most powerful idioms, design approaches, and libraries. He presents new and updated content on Action Cable, RSpec 3.4, Turbolinks 5.0, the Attributes API, and many other enhancements, both major and subtle.

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 database schema via Migrations
  • Craft front-ends with ActionView and the Asset Pipeline
  • Optimize performance and scalability with caching and Turbolinks 5.0
  • Improve your productivity using Haml HTML templating
  • Secure your systems against attacks like SQL Injection, XSS, and XSRF
  • Integrate email using Action Mailer
  • Enable real-time, websockets-based browser behavior with Action Cable
  • Improve responsiveness with background processing
  • Build "API-only" back-end projects that speak JSON
  • Leverage enhancements to Active Job, serialization, and Ajax support

Book Details

  • Publisher: Addison-Wesley Professional
  • Publish Date: Nov 14th, 2017
  • Pages: 1088
  • Language: English
  • Edition: undefined - 0004
  • Dimensions: 9.10in - 6.90in - 1.60in - 2.95lb
  • EAN: 9780134657677
  • Categories: Languages - General

About the Author

Obie Fernandez resides in Mexico City and runs a boutique tech consultancy. He makes his living as an author and by helping clients to build kickass web software. Early in his career, he worked on some of the world's first Java enterprise projects and founded Atlanta's Extreme Programming User Group (later Agile Atlanta). At ThoughtWorks and his own agency Hashrocket, he led high-risk projects for massive companies like Daimler, John Deere, and Sony Ericsson, delivering some of the world's first successful enterprise Ruby on Rails systems. More recently, he has founded or consulted many successful technology startups, including Andela, which is well on its way to training 100,000 brilliant young Africans to become the world's next generation of technology leaders. His previous books include The Lean Enterprise and Serverless.

Praise for this book

Praise for The Rails Way

"For intermediates and above, I strongly recommend adding this title to your technical bookshelf. There is simply no other Rails title on the market at this time that offers the technical depth of the framework than The Rails(TM) 3 Way."

--Mike Riley, Dr. Dobb's Journal

"I highly suggest you get this book. Software moves fast, especially the Rails API, but I feel this book has many core API and development concepts that will be useful for a while to come."

--Matt Polito, software engineer and member of Chicago Ruby User Group

"This book should live on your desktop if you're a Rails developer. It's nearly perfect in my opinion."

--Luca Pette, developer

"The Rails(TM) 3 Way is likely to take you from being a haphazard poke-a-stick-at-it programmer to a deliberate, skillful, productive, and confident RoR developer."

--Katrina Owen, JavaRanch

"I can positively say that it's the single best Rails book ever published to date. By a long shot."

--Antonio Cangiano, software engineer and technical evangelist at IBM

"This book is a great crash course in Ruby on Rails! It doesn't just document the features of Rails, it filters everything through the lens of an experienced Rails developer--so you come out a pro on the other side."

--Dirk Elmendorf, cofounder of Rackspace Inc. and Rails developer

"The key to The Rails Way is in the title. It literally covers the 'way' to do almost everything with Rails. Writing a truly exhaustive reference to the most popular web application framework used by thousands of developers is no mean feat. A thankful community of developers that has struggled to rely on scant documentation will embrace The Rails Way with open arms. A tour de force!"

--Peter Cooper, editor, Ruby Inside: The Ruby Blog

"In the past year, dozens of Rails books have been rushed to publication. A handful are good. Most regurgitate rudimentary information easily found on the Web. Only this book provides both the broad and deep technicalities of Rails. Nascent and expert developers, I recommend you follow The Rails Way."

--Martin Streicher, chief technology officer, McClatchy Interactive, former editor in chief of Linux Magazine

"Hal Fulton's The Ruby Way has always been by my side as a reference while programming Ruby. Many times I had wished there was a book that had the same depth and attention to detail, only focused on the Rails framework. That book is now here and hasn't left my desk for the past month."

--Nate Klaiber, Ruby programmer

"I knew soon after becoming involved with Rails that I had found something great. Now, with Obie's book, I have been able to step into Ruby on Rails development coming from .NET and be productive right away. The applications I have created I believe to be a much better quality due to the techniques I learned using Obie's knowledge."

&m