Manning Early
Access Program
Rails 4 in Action
Revised Edition of Rails 3 in Action


Ryan Bigg, Yehuda Katz, Steve Klabnik, and Rebecca Skinner

MEAP Began: July 2012
Softbound print: August 2015 (est.) | 600 pages | B&W
ISBN: 9781617291098

Become a reviewer
Pre-Order options*
Order now and start reading Rails 4 in Action today through MEAP                    
  MEAP + eBook only - $39.99
  MEAP + Print book (includes eBook) when available - $49.99
* For more information, please see the MEAP FAQs page.
  About MEAP Release Date Estimates     

Table of Contents, MEAP Chapters & Resources

Table of Contents         Resources 
  1 Ruby on Rails, the framework - FREE
  2 Testing saves your bacon - AVAILABLE
  3 Developing a real Rails application - AVAILABLE
  5 Nested resources - AVAILABLE
  6 Authentication - AVAILABLE
  7 Basic access control - AVAILABLE
  8 Fine-grained access control - AVAILABLE
  9 File uploading - AVAILABLE
10 Tracking state - AVAILABLE
11 Tagging - AVAILABLE
12 Sending email - AVAILABLE
13 Deployment - AVAILABLE
14 Rack-based applications - AVAILABLE
15 Designing an API - AVAILABLE

Appendix A Installation guide - AVAILABLE
Appendix B Why Rails? - AVAILABLE


Ruby on Rails is an open source web framework. It's famously simple to build a basic Rails application. Because it handles most of the configuration for you, all you need is a few minutes and a few lines of Ruby. Once you've started down the track, however, you discover that Rails is a powerful, deep, and rich full-stack platform capable of tackling virtually any development challenge.

Rails 4 in Action is a comprehensive introduction to Rails that guides you hands-on through all you'll need to become a competent and confident Rails developer. In it, you'll master Rails 4 by developing a ticket tracking application that includes RESTful routing, authentication and authorization, file uploads, email, and more. You'll also explore powerful features like designing your own APIs and building a Rails engine. And you'll see Test Driven Development and Behavior Driven Development in action throughout the book, just like you would in a top Rails shop.

This fully-revised second edition offers new and improved testing examples using the RSpec and Capybara libraries and presents more options for creating your own APIs. Numerous changes throughout the book make it even easier to read and use.


Whether you're just starting or you have a few cycles under your belt, you'll appreciate the book's guru's-eye-view of idiomatic Rails programming. Background in Ruby is helpful but not required.


Ryan Bigg is a Rails developer living in Melbourne, Australia, recognized for his prolific and accurate answers on IRC and StackOverflow. He was named a Ruby Hero for his work on the Rails Guides and being generally helpful in the ROR community. Yehuda Katz is founder of the EmberJS framework, a former lead developer on SproutCore, and is well-known for his contributions to Rails 4, jQuery, Bundler, and Merb. Steve Klabnik is a member of the Ruby on Rails team. A prolific open source contributor, he's made contributions to a large number of Ruby projects, including Rails, Sinatra, Rubygems, Rubinius, Resque, Draper, and over 20 gems of his own. When he's not speaking at conferences, working on Rails, or training on Ruby and Rails at Jumpstart Lab, he's reading philosophy books and applying their lessons to software. Rebecca Skinner is a Ruby and Rails developer, recognized for her tireless efforts on IRC, StackOverflow, and in the local developer community.


This Early Access version of Rails 4 in Action enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Online forum.


Sign up to read more content when it is released and to receive news about this book.