stravid/slotcars — pull request #148 by tombu (2012-04-26 21:10:58+00:00)
Title: Pull Request: chore/introduce configuration file

Originally, I just wanted to switch to PostgreSQL in development and test. I then stumbled upon a little security issue. As our app is open source we shouldn´t check in the security_token which we use in production. In Addition we also shouldn´t check in any license or API keys. I removed all existing ones and introduced a file (`config/configure.rb`) which loads the configuration from a YAML file (`config/configuration.yml`).

The `configuration.yml.template` file shows the structure of the real configuration file which is not checked into version control.

You can generate a new security_token using `ActiveSupport::SecureRandom.hex(64)` (in the rails console).