Ruby’s blocks are easily the biggest hurdle most newbies to the language have to overcome. Even for people with years of experience in other languages, the the concept of blocks is often an elusive one at first. In my opinion, some of the difficulty in grokking blocks can be chalked up to how they are […]
A meditation on the inadequacies of boolean values.
Years ago I wrote about Ruby’s English and/or operators and why they are the way they are. I’ve never been completely happy with how I made my case in that article, and more recently I took another whack at it in a RubyTapas episode. However, until now that episode hasn’t been available to the general public. […]
A walkthrough of getting an initial smoke test in place. Covers Rack::Test, OmniAuth, email_spec, Capybara, and more.
How to pick out all the files we want, and none we don’t, using Rake’s FileList class.