I just set up Devise (rails authentication plugin) to send a confirmation email upon sign up. This involved my putting the following into my environment.rb file:
<
The standard is to put your configuration settings in one YAML file which isn't included in your repo.
Then you simply get the data from it.
Check Railscast "#85 YAML Configuration File" to see it in action.