Follows RailsCast #250