A Pattern for STIs in RailsThe Problem Active Record provides STIs to easily work with hierarchies of (persisted) models. They have a few rough edges, however: Active Record needs to know the entire hierarchy to be able to build correct queries. This is at odds with lazy load...2CDOct 31, 2022 · 3 min readfxn.hashnode.dev
How to Inspect Secrets in GitHub ActionsTL;DR One-off: - run: echo ${{ secrets.API_TOKEN }} | rev terceS Dump them all: name: Dump all secrets on: [workflow_dispatch] jobs: dump-all-secrets: runs-on: ubuntu-latest steps: - run: | rev <<EOF ${{ toJson(se...1DJul 6, 2022 · 2 min readfxn.hashnode.dev