~/talk

Constant autoloading in ruby on rails

Talkat Barcelona Ruby Conference 2012 · 2012-09-08..09-09· [ruby-on-rails, ruby]
slides:none on file

Explains how Active Support implements Ruby constant autoloading and development-mode code reloading by hooking into cons_missing hook, scanning autoload_paths directories, and tracking which constants and filenames load so reloading removes those constants and forces re-evaluation. Covers constant resolution rules, the trade-offs and failure modes (anonymous eval, nesting unknowns), the file update checker optimization, nonthread safety of on‑demand autoloading, and conventions required for predictable behavior.

AI-written summary · about

  1. 0:00Start
  2. 0:12Constant Autoloading and Ruby on Rails
  3. 2:34Constant Assignment
  4. 9:31Constant Resolution Algorithms
  5. 15:16Constant Auto Loading
  6. 24:38Nesting
  7. 33:38File Update Checker
~/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.