Upgraded rails to latest due to security flaw