Use Rails Combined Credentials

To deal with secrets and credential handling most Rails apps have ended up with a hotchpotch of ENV.fetch calls and credentials.dig lookups throughout the codebase, depending on where each secret lives. Rails edge — and the upcoming 8.2 — fixes this. Instead of… …mixing ENV and credential lookups: class StripeChargeService def initialize @api_key = ENV . fetch ( "STRIPE_API_KEY" ) @webhook_secret…