gitignore config/database.yml
add secret_token.rb into gitignore.
add symlink to secret_token and database while deploying.