Using the upgrading to rails4 app from railscasts