upgraded rails to a secure version