A blog about using the Ruby on Rails web application framework to get stuff done as a web developer. New content every few weeks.
Link: everydayrails.com
Before we go much further, let me point out that, on paper, this looks like a lot of work, especially when thrown in with failing tests. In practice, though, it’s pretty easy. That said, what we’re doing here–converting a scaffolded resource to one you’ll manage via an admin panel–wil...
Everyday Rails Testing with RSpec: Upcoming updates for 2014 April 03, 2014 Big changes are afoot for Rails and RSpec, which means it’s almost time for another update to Everyday Rails Testing with RSpec. Here’s a list of things I’m planning to address in this release. Don’t forget, y...
A great example of outside-in testing from Ruby Tapas January 15, 2014 Once you know the basic mechanics of testing, how do you bring it all together into a consistent testing habit or routine? I get asked this a lot by people who’ve recently finished Everday Rails Testing with RSpec ...
Everyday Rails Testing with RSpec has been translated to Japanese and is now available on Leanpub. The team of translators has worked hard over the past several weeks to not only deliver this edition for Japanese-reading audiences, but also help me make the English version better by m...
Looking for the Rails 3.2 edition of Everyday Rails Testing with RSpec? January 25, 2014 I’ve had a few requests for the Rails 3.2-based version of Everyday Rails Testing with RSpec , the last version of which was released in summer of 2013. I’ve decided to make it available as a free...
Yes, this is still a Rails blog–but being productive in Rails means a lot more than just knowing Ruby and the framework. You also need to know your way around a version control system. That (hopefully) means Git. There are lots of excellent introductions to Git already available. If t...
A great example of outside-in testing from Ruby Tapas January 15, 2014 Update: Avdi has generously made the Outside-In episode of Ruby Tapas embeddable for this post–see below. Thanks, Avdi! Once you know the basic mechanics of testing, how do you bring it all together into a consiste...
I’m excited to share with you a new Chinese version of Everyday Rails Testing with RSpec , translated by Andor Chen and available now on Leanpub. Andor contacted me several months back about this project; I asked him to hold off on translating until the Rails 4.0-related updates were ...