Bump rails version to 3.1.11

Updates Rails version to 3.1.11 which fixes important security vulnerabilities