Added Railscast #415 (Upgrading to Rails 4.0) changes