Created
June 11, 2014 14:47
-
-
Save brandonhilkert/5741c3607339e291a57f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Loading development environment (Rails 4.1.1) | |
irb(main):001:0> Rails.application.secrets | |
=> {:new_setting=>"test", :secret_key_base=>"bc3c450a6ba3b8cf93e714a8628960249114648516ca3fdffd9f19ba4b29689116a038cf611e3756b850a1f5399ea99935fe720e0d6d0f61d349293c70d244ec"} |
This file contains hidden or 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
defaults: &defaults | |
new_setting: test | |
development: | |
<<: *defaults | |
secret_key_base: bc3c450a6ba3b8cf93e714a8628960249114648516ca3fdffd9f19ba4b29689116a038cf611e3756b850a1f5399ea99935fe720e0d6d0f61d349293c70d244ec | |
test: | |
<<: *defaults | |
secret_key_base: 84b99064f2817882be1ef8ad5a36f9509913b10cce97752c80ef70670343e5e1e65ef293a8b249a86c1622d3b78a9541c90e12d9044ad07b3eb920f93808ac64 | |
# Do not keep production secrets in the repository, | |
# instead read values from the environment. | |
production: | |
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment