Skip to content

Instantly share code, notes, and snippets.

View firstsano's full-sized avatar

Aleksandr Koltunov firstsano

  • Umbrellio
  • Saint-Petersburg, Russia
View GitHub Profile
@brianjbayer
brianjbayer / gist-unlocking-the-secrets-of-rails-secrets-and-credentials.md
Last active January 15, 2026 22:14
A comprehensive examination of Rails Secrets, Credentials, and Secret Key Base

Unlocking the Secrets of Rails Secrets and Credentials

Interurban Tunnel at Blackhand Gorge- Brian J Bayer


If you are like many (most?) of us, you have encountered Rails Credentials/Secrets and secret_key_base and may have been left a bit (or more) confused.

This post is an attempt to remove some of that confusion by

@fabianvelizok
fabianvelizok / gist:c929c8edaa3a4d6a5873
Last active August 12, 2024 18:06
devise views to slim
rails generate devise:views
gem install html2slim
for file in app/views/devise/**/*.erb; do erb2slim $file ${file%erb}slim && rm $file; done