For Michael Hartl's Ruby on Rails Tutorial