Upgraded to Rails 4 environment