~/talk

Implicit to Explicit: Decoding Ruby's Magical Syntax

Talkat RailsConf 2021 · 2021-04-12..04-15· [ruby]
slides:none on file

Claim: Rails DSL is just Ruby and the talk converts implicit syntax into explicit calls. Demos use binding.pry and Pry shortcuts to inspect self, show-source and docs, and edit models while tests reload; examples include making has_many into explicit self.has_many, explaining method_missing in config, and showing why setters need self.email= vs email=. Live demos execute, introspection reveals receivers and arguments, and tests continue to pass.

AI-written summary · about

  1. 0:00Introduction to rails syntax
  2. 1:16Implicit versus explicit code
  3. 4:20Reading code like the interpreter
  4. 5:53Analyzing rails DSL methods
  5. 9:48Custom operators and messages
  6. 12:16The role of self in Ruby
  7. 14:44Debugging with pry
  8. 18:39Implicit variable handling
  9. 22:41Pry exploration techniques
  10. 30:48Decoding method_missing
  11. 35:33Conclusion and resources
~/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.