Skip to content

Instantly share code, notes, and snippets.

@brianjbayer
brianjbayer / gist-representing-email-addresses-in-rails.md
Last active March 10, 2023 20:21
Detailed overview of the official email standards and how to more correctly implement them in Ruby on Rails and PostgreSQL

Representing Email Addresses in Rails

Joshua Tree Saloon - Wendy Bayer

Image: Joshua Tree Saloon by Wendy Bayer


Dealing with and representing email addresses is very common in Ruby on Rails and other web applications. This is especially true when representing and implementing an

@brianjbayer
brianjbayer / gist-unlocking-the-secrets-of-rails-secrets-and-credentials.md
Last active October 4, 2024 15:01
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