Rails 4 and other upgrades