Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to use credentials in ruby
# nested key
Rails.application.credentials.stripe[:publishable_key]
# single key
Rails.application.credentials.google_api_key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment