Setting up test:benchmark

I’m in the process of trying to establish some baseline performance metrics for increasing the performance of a website.  I thought I’d share what I learned.
The first place to start is Performance Testing Rails Applications from Rails Guides.  Everything else in this post assumes you started there (which is what I did).
Changing the host for [...]


Sugary new rspec syntax

A new version of rspec was just released and I love this bit of syntactic sugar (taken right out of the blog post):

describe Person do
describe “born 19 years ago” do
subject { Person.new(:birthdate => 19.years.ago }
it { should be_eligible_to_vote }
it { should [...]