Rails upgrades