Upgrading Rails 3.2.13 to 4.0.0