Update to Rails 4 version of the tutorial