small medium large xlarge

NEW: Rails 5 Test Prescriptions; Agile Web Development with Rails 5.1 in print

November 15, 2017

Happy Rails day! If you work in Ruby on Rails, you'll need Rails 5 Test Prescriptions: Build a Healthy Codebase now in beta at pragprog.com/book/nrtest3.

If you've got new team members who need to get up to speed, or if your just starting out with Rails yourself, grab a copy of the classic: Agile Web Development with Rails 5.1. Now in print and shipping from pragprog.com/book/rails51.

If you purchased previous editions of either of these titles from us directly, you'll find appropriate upgrade coupons in your account for the revised ebook.

Come and get 'em!

/\ndy

Rails 5 Test Prescriptions: Build a Healthy Codebase

Your Ruby on Rails application is sick. Deadlines are looming, but every time you make the slightest change to the code, something else breaks. Nobody remembers what that tricky piece of code was supposed to do, and nobody can tell what it actually does. Plus, it has bugs. You need test-driven development: a process for improving the design, maintainability, and long-term viability of software.

With both practical code examples and discussion of why testing works, this book starts with the most basic features delivered as part of core Ruby on Rails. Once you've integrated those features into your coding practice, work with popular third-party testing tools such as RSpec, Jasmine, Cucumber, and factory_bot. Test the component parts of a Rails application, including the back-end model logic and the front-end display logic. With Rails examples, use testing to enable your code to respond better to future change. Plus, see how to handle real-world testing situations.

This new edition has been updated to Rails 5.1 and RSpec 3.7 and contains full coverage of new Rails features, including system tests and the Webpack-based JavaScript setup.

Now available in beta from pragprog.com/book/nrtest3.

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 print and shipping from pragprog.com/book/rails51.

Upcoming Author Appearances

  • 2017-11-15 Noel Rappin, RubyConf, New Orleans
  • 2017-11-30 Sandy Mamoli, Yow! Melbourne, Sydney and Brisbane
  • You Could Be a Published Author

    Is there a tech topic you are deeply passionate about and want to share with the rest of us? You could become a published Pragmatic Bookshelf author! Take a look at our pragprog.com/write-for-us page for details, including our 50% royalty (yes, for real!) and world-class development editors.

    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 pragprog.com (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:

    • Docker for Rails Developers: Build, Ship, and Run Your Applications Everywhere in beta
    • Java By Comparison: Become a Java Craftsman in 80 Examples in beta
    • 3D Game Programming for Kids, Second Edition in beta
    • Programming Elm: Build Safe and Maintainable Front-End Applications in beta
    • Programming Crystal: Create High Performance, Safe, Concurrent Apps in beta

    Recently Released:

    Thanks for your continued support,

    Andy Hunt Publisher, Pragmatic Bookshelf

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts
    PragProg.com