~/talk

In the beginning, there was "require"...

Talkat RubyConf 2019 · 2019-11-18..11-20· [ruby]
speakerdeck:adamlogic
slides:none on file

Explains what calling require actually does: Ruby walks $LOAD_PATH, records entries in loaded_features, and Rubygems performs gem activation by adding a gem’s lib to the path. Shows when to use require_relative or manipulate $LOAD_PATH, why load always re‑evaluates files, and how Bundler with Bundler.setup plus Gemfile.lock pins versions. Distinguishes Ruby autoload from Rails implicit autoloading, why require_dependency existed and how Rails 6 rewrites autoloading so that explicit require_dependency is often unnecessary.

AI-written summary · about

  1. 0:00Introduction
  2. 4:00Require
  3. 8:45Ruby Gems
  4. 14:15MiniTests
  5. 15:28Requirements
  6. 16:05Bundler Setup
  7. 16:59Bundler Not require
  8. 17:34Autoload
  9. 18:42Rack
  10. 19:20Rails
  11. 19:49Rails Console
  12. 20:25Autoload paths
  13. 22:03lib and autoload paths
  14. 23:23require dependency
  15. 23:44autoloading
  16. 24:20required dependency
  17. 25:05Rails 6 autoloading
  18. 25:38Summary
  19. 25:50Conclusion
  20. 26:02Takeaways
  21. 26:41Options
  22. 27:03Implicit Autoload
~/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.