Created
June 24, 2011 13:37
-
-
Save hron/1044777 to your computer and use it in GitHub Desktop.
application config in yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config = YAML.load_file("#{Rails.root}/config/config.yml") | |
APP_CONFIG = HashWithIndifferentAccess.new(config[Rails.env]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment