~/talk

ActiveRecord is Still Magical

Talkat Wicked Good Ruby 2013 · 2013-10-12..10-13· [ruby, databases]
slides:none on file

A walk through concrete ActiveRecord behaviors: failing tests due to deterministic test order (3,684 tests run), a surprising has_many through where+create bug that inserts only the child because a CollectionProxy becomes a Relation, default_scope quirks and how unscoped or build_default_scope behaves, differences in where-merging between Rails 3 and 4, autosave and inverse_of identity fixes, and a Rails 4 merge/joins implementation that fixes broken scope merging; patches and test advice for multiple databases are discussed.

AI-written summary · about

  1. 0:00Start
  2. 15:08Accept Method
  3. 19:08Build Default Scope
  4. 21:16Eagle Load
  5. 21:35Include
  6. 24:07Auto Save
~/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.