upgraded rails v and secret.yml