Upgraded rails due to security issues