Category Archives: Ruby

Zero to Smoke Test with Sinatra

A walkthrough of getting an initial smoke test in place. Covers Rack::Test, OmniAuth, email_spec, Capybara, and more. Continue reading

Posted in Ruby | Tagged , , , , , , , , , , | 7 Comments

Rake Part 2: File Lists

How to pick out all the files we want, and none we don’t, using Rake’s FileList class. Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | Leave a comment

Jim Weirich on exceptions

Back in 2011 I was doing research for the talk that became Exceptional Ruby, and Jim Weirich was nice enough to let me pick his brain on the topic. I was reminded of this email today, and thought I’d share … Continue reading

Posted in Ruby | Tagged , , , | 4 Comments

Learn advanced Rake in 7 episodes

Rake is ubiquitous in Ruby-land, but its power is often under-appreciated and under-used. Over the course of the past two weeks I’ve been posting a series of RubyTapas videos I did on Rake. They go into advanced features of Rake … Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | 6 Comments

Rake Part 7: MultiTask

Parallelizing Rake tasks for efficiency Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | Leave a comment

Rake Part 6: Clean and Clobber

How to keep project directories squeaky clean using Rake. Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | 2 Comments

Rake Part 5: File Operations

Creating and removing files and directories in Rake. Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | 1 Comment

Rake Part 4: Pathmap

Continuing our series on Rake, today we look at one of its most powerful (and little-known!) features Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | Leave a comment

Rake Part 3: Rules

In this episode, we teach Rake how to intelligently discover the right source file for a given target. Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | 1 Comment

Rake Part 2: File Lists

How to pick out all the files we want, and none we don’t, using Rake’s FileList class. Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | 4 Comments