The Rails 4 Way: Edition 3

·
· Addison-Wesley Professional
4.4
8 reviews
Ebook
880
Pages
Eligible
Ratings and reviews aren’t verified  Learn More

About this ebook

The “Bible” for Rails Development: Now Fully Updated for Rails 4.1

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

—From the Foreword by Steve Klabnik

Ruby on Rails 4 is leaner, tighter, and even more valuable to professional web developers. More than ever, it helps you focus on what matters most: delivering business value via clean and maintainable code.

The RailsTM 4 Way is the only comprehensive, authoritative guide to delivering production-quality code with Rails 4. Kevin Faustino joins pioneering Rails developer Obie Fernandez to illuminate the entire Rails 4 API, including its most powerful and modern idioms, design approaches, and libraries. They present extensive new and updated content on security, performance, caching, Haml, RSpec, Ajax, the Asset Pipeline, and more.

Through detailed code examples, you’ll dive deep into the Rails 4 code base, discover why Rails is designed as it is, and learn how to make it do exactly what you want. Proven in dozens 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—you’ll refer to it constantly.

This guide will help you

  • Build powerful, scalable REST-compliant APIs
  • Program complex program flows using Action Controller
  • Represent models, relationships, CRUD operations, searches, validation, callbacks, and more
  • Smoothly evolve application database schema via Migrations
  • Apply advanced Active Record techniques: single-table inheritance, polymorphic models, and more
  • Create visual elements with Action View and partials
  • Optimize performance and scalability with view caching
  • Master the highly productive Haml HTML templating engine
  • Make the most of Rails’ approach to session management
  • Secure your systems with Rails 4’s improved authentication and authorization
  • Resist SQL Injection, XSS, XSRF, and other attacks
  • Extend Rails with popular gems and plugins, and learn to write your own
  • Integrate email services with Action Mailer
  • Use Ajax via Rails 4 support for unobtrusive JavaScript
  • Improve responsiveness with background processing
  • Leverage Asset Pipeline to simplify development, improve perceived performance, and reduce server burdens
  • Accelerate implementation and promote maintainability with RSpec

Ratings and reviews

4.4
8 reviews
Anil Das
November 29, 2020
AAA
Did you find this helpful?

About the author

Obie Fernandez, Chief Technology Officer of Lean Startup Machine, has been hacking computers since he got his first Commodore VIC-20 in the 1980s. He helped program some of the world’s first Java enterprise projects and founded Atlanta’s Extreme Programming User Group (later Agile Atlanta). At world-renowned consultancies ThoughtWorks and his own Hashrocket, Obie focused on tackling high-risk projects, including some of the world’s first enterprise Ruby on Rails projects.

Kevin Faustino, Founder and Chief Craftsman of Remarkable Labs in Toronto, Canada, has specialized in Ruby since 2008. He founded the Toronto Ruby Brigade, which hosts tech talks, hack nights, book clubs, and other events.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.