General upgrades to latest Rails defaults.