Hartl tutorial with Rails 4 and Ruby 2