XNXavier Noriainfxn.hashnode.dev·Oct 31, 2022 · 3 min readA 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...02CD
XNXavier Noriainfxn.hashnode.dev·Jul 6, 2022 · 2 min readHow 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...01A