A big update to my testing book is coming in 2017. Here's a list of things to expect in the new edition.
(December 05, 2016)
In part two of a series on ditching controller specs, let's move a complicated
controller example into a more reasonable, future-proof feature spec.
(September 05, 2016)
Does your application's test suite rely heavily on controller specs? It's time to consider alternatives, as controller testing has changed in Rails 5.
Here's one way to replace a common use of these specs, even if you haven't
upgraded to Rails 5 yet.
(August 29, 2016)
I've been thinking about how to improve the quality of Rails code bases through better documentation practices. Here are some steps I'm taking in my own projects.
(April 18, 2016)
Looking for a well-balanced authentication solution? Check out Clearance as an alternative to Devise and has_secure_password.
(January 23, 2016)
I love how extensible GitHub's Atom editor is. Here are some useful packages for using it to edit and run RSpec tests.
(August 27, 2015)
A behind-the-scenes look at the tools and decisions that led to the first major redesign of Everyday Rails in three years.
(August 09, 2015)
Here's how I created sanitized sample data from real-world data, using a few lines of Ruby code and a very useful gem.
(July 29, 2015)
Rails offers a couple of methods to access persisted test data, but how do they work? Let's get some answers, with the help of Pry.
(April 05, 2015)
Pronto helps streamline the code review process by automating what can be automated, so you can focus on the code's intent and design. Here's one example of how to use it.
(February 17, 2015)