Improved 'staging' configuration updating the 'database.yml' template, modifying the log level to be the same as the production default.
Also, fixed the setting of default_url_options as the initializers are run after the environments configuration.