Learn Rails the way the Rails core team recommends it, along with the
tens of thousands of developers who have used this broad, far-reaching
tutorial and reference. If you're new to Rails, you'll get step-by-step
guidance. If you're an experienced developer, get the comprehensive,
insider information you need for the latest version of Ruby on Rails.
The new edition of this award-winning classic is completely updated for
Rails 5.1 and Ruby 2.4, with information on system testing, Webpack, and
advanced JavaScript.
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. Rails 5.1 brings many improvements, and
this edition is updated to cover the new features and changes in best
practices.
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; seamlessly incorporate
Ajax and JavaScript; send emails and manage background jobs with
ActiveJob; build real-time features using WebSockets and ActionCable.
Test your applications as you write them using the built-in unit,
integration, and system testing frameworks; internationalize your
applications; and deploy your applications easily and securely. New in
this edition is support for Webpack and advanced JavaScript, as well as
Rails' new browser-based system testing.
Rails 1.0 was released in December 2005. This book was there from the
start, and didn't just evolve alongside Rails, it evolved with Rails. It
has been developed in consultation with the Rails core team. In fact,
Rails itself is tested against the code in this book.
What You Need:
All you need is a Windows, Mac OS X, or Linux machine to do development
on. This book will take you through the steps to install Rails and its
dependencies. If you aren't familiar with the Ruby programming language,
this book contains a chapter that covers the basics necessary to
understand the material in the book.