Rails version
Update gems
Improve test environment
secret_token from ENV
Merge branch 'refactor'