Rails just keeps on changing. Rails 5 and Ruby 2.2 bring many improvements, including new APIs and substantial performance enhancements, and the fifth edition of this award-winning classic has been updated so it's more useful than ever for developers new to Ruby and Rails. Tens of thousands of developers have used this award-winning book to learn Rails. It's a broad, far-reaching tutorial and reference that's recommended by the Rails core team. If you're new to Rails, you'll get step-by-step guidance. If you're an experienced developer, this book will give you the comprehensive, insider information you need.
Ruby on Rails helps you produce high-quality, beautiful-looking web applications quickly. You concentrate on creating the application, and Rails takes care of the details.
We start with a step-by-step walkthrough of building a real application, and in-depth chapters look at the built-in Rails features. Follow along with an extended tutorial as you write a web-based store application; eliminate tedious configuration and housekeeping; internationalize your applications; incorporate Ajax, REST, web services, and e-mail handling into your applications; test your applications as you write them using the built-in testing frameworks; and deploy your applications easily and securely.
Rails has evolved over the years, and this book has evolved along with it. This book gives new Ruby 2.2 and Rails 5 users more information on the Ruby language and more background information alongside the book's sample application. Best practices on how to apply Rails continue to change, and this edition keeps up. Examples use cookie-backed sessions, HTTP authentication, and Active Record-based forms, and the book focuses throughout on the right way to use Rails.
What You Need:
All you need to start is Ruby 2.2. This book will take you through the steps to install Rails and its dependencies.
Sam Ruby has co-chaired the W3C HTML Working Group and has made significant contributions to many of the Apache Software Foundation's open source software projects. He is a Senior Technical Staff Member in the Emerging Technologies Group of IBM.