small medium large xlarge

Agile Web Development with Rails 5.1, Upgrade Details

May 10, 2017

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.

Agile Web Development with Rails 5.1 is being modernized and revised for the latest tools and best practices. In this first beta, we have an entirely new chapter: Chapter 13, Entering Additional Payment Details, with coverage of Webpack and React, as well as new information on system testing in that chapter. There's more new stuff to come, and of course all the code in the book is now up to date for Rails 5.1.

Remember when you buy the beta, you get all updates up to final publication, and beyond for that edition.

Upgrade Details

If you purchased the Rails 5 edition of this book, the ebook of this new edition is available for a 35% discount off regular price. You'll find this coupon in your account already.

If you purchased an earlier edition of this book, the ebook of this new edition is available for a 15% discount off regular price. Use the coupon code Rails4me (enter it in your cart during checkout).

Please note upgrade discount cannot be combined with any other coupons or discounts.

Now in beta from

Agile Web Development with Rails 5.1

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.

Now in beta from

Upcoming Author Appearances

  • 2017-05-16 Johanna Rothman, Secrets of Successful Non-Fiction Writers (Workshop 2)
  • 2017-05-17 Johanna Rothman, Non-Fiction Writing Workshop to Enhance Your Business (online workshop)
  • 2017-05-17 Andrew Hunt, iOS Remote Conference
  • 2017-05-18 Rachel Davies, NCrafts, Paris
  • 2017-05-19 Jeff Kelley, Self.conference, Detroit, MI
  • 2017-05-25 Diana Larsen, XP2017, Cologne, Germany
  • 2017-06-06 Chris Adamson, CocoaConf Next Door, San Jose
  • 2017-06-07 Chris Adamson, CocoaConf Next Door, San Jose
  • 2017-06-07 Jeff Kelley, Code PaLOUsa, Louisville, KY
  • 2017-06-08 Chris Adamson, CocoaConf Next Door, San Jose
  • 2017-06-09 Jeff Kelley, Beer City Code, Grand Rapids, MI
  • 2017-06-20 Ian Dees, Open Source Bridge, Portland, OR
  • 2017-06-23 Andrew Hunt, DC Full Stack Conference
  • Did You Know?

    You can synch your ebooks amongst your devices via Dropbox, including updates! Just login to your account on, edit your profile, and connect your dropbox account. See our FAQ for details.

    Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: @pragprog, @pragpub, Andy Hunt @PragmaticAndy.

    Coming Soon:

    • Functional Programming: A PragPub Anthology Exploring Clojure, Elixir, Haskell, Scala, and Swift
    • Python Testing with pytest
    • Domain Modeling Made Functional: Tackle Software Complexity with Domain-Driven Design and F#
    • Node.js 8 the Right Way: Practical, Server-Side JavaScript That Scales

    Recently Released:

    Thanks for your continued support,

    Andy Hunt Publisher, Pragmatic Bookshelf

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts