~/talk

Experimental Patterns in ActiveRecord

Talkat RailsConf 2022 · 2022-05-17..05-19· [ruby-on-rails, frontend-architecture]
slides:none on file

GitHub describes concrete experiments: tackling N+1s with Prelude batch methods on models (inspired by graphql‑batch), using it to remove many includes and handle non‑DB calls, and reporting it largely works though overfetching remains. The codebase scale — ~400 models and 17 DB clusters — motivates work on ownership: a proxy‑record pattern and a light record shim with private data API that hide AR internals; prototypes exist but require more polish.

AI-written summary · about

  1. 0:00Start
  2. 13:56shopify/graphql-batch
  3. 18:45Code ownership & responsibility
  4. 20:47API exposure
  5. 23:20Renaming an issue
  6. 30:52Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.