Rails 4 Upgrade work