Preface

I came to be an author on this book back in April 2010, and then spent about a year and a half writing it from scratch while working full-time. The first edition, Rails 3 in Action, was published in September of 2011. It’s now 2015 and the revised edition is finally here, this time focusing on Rails 4.2 instead of Rails 3.1.

During this time, many changes have come to pass in the Ruby and Rails community, with almost 40 new versions of Rails since 3.1. The way we whitelist data attributes received from the outside world has moved from the models to the controllers. The popularity of Cucumber (a staple in the first edition) has faded, and it has been replaced by RSpec and Capybara. Validation syntax has morphed. The find_by_* finders ...

Get Rails 4 in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.