Upgrade Rails dependancy to 3.1.10 due to security vulnerabilities