Trying to turn rails 3.2 tutorial in to a rails 4 app