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...3 min read·fxn.hashnode.dev2CDOct 31, 2022
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...2 min read·fxn.hashnode.dev1DJul 6, 2022