Upgrade activerecord and friends