~/talk

Ruby 2 in Ruby on Rails

Talkat Red Dot Ruby Conference 2017 · 2017-06-22..06-23· [ruby-on-rails]
slides:none on file

Survey of Ruby 2 features that Rails actually adopts: module prepend replaces fragile alias_method_chain for monkey patches and avoids hidden intermediate methods; refinements get used in gems (database_rewinder) and Rails 5.1 to hide internal helpers but reveal a surprising position-dependent behavior — not truly file-scoped — that required reporting; keyword arguments clean up APIs but historically ran much slower (benchmarks showed ~4× slowness on older Rubies), so migration needs testing; patches include an RDoc/parser fix for new private-def parsing, frozen-string-literal magic comment, and experiments with require_relative and instruction-sequence dumping for boot speed.

AI-written summary · about

  1. 0:00Start
  2. 3:54New Features
  3. 4:08Module Prepend
  4. 12:29Refinements
  5. 18:10Method Visibility
  6. 30:05Keyword Arguments
  7. 42:44Frozen Strings
  8. 45:16Performance
~/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.