Railscast way of precompiling. It was easier to follow.