Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to use credentials in html.erb
<!-- interpolate in script tag -->
<script src="https://maps.googleapis.com/maps/api/js?key=<%= "#{Rails.application.credentials.google_api_key}"%>"</script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment