upgrade to rails 3.1.12
upgrade to mysql2 0.3.10