Updated rails, fixed Mysql bug