~/talk

Mapping Concepts Into Code

Talkat RubyConf AU 2024 · 2024-04-11..04-12· [ruby]
slides:none on file

Builds a working gem called noticed gem that maps notification concepts into Rails code using ActionMailer, ActiveJob, database records and websockets. Extracts an ordered options wrapper and a small deliver_by object to encapsulate job options, splits Notifier/Event/Notification to avoid 10,000× param duplication, and uses metaprogramming (inherited hook and class_eval) plus single table inheritance to inject per-notifier helpers. Early choices (where database models live and naming collisions) cause pain, but the refactor largely succeeds and enables bulk deliveries.

AI-written summary · about

  1. 0:00Introduction
  2. 3:39Noti gem for Rails
  3. 10:05Delivery methods refactored
  4. 15:23Active Job integration
  5. 20:19Database deliveries
  6. 24:12Introducing events
  7. 28:25Single table inheritance
  8. 33:00Key takeaways
  9. 35:47Call to action
~/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.