Unblocked
summary
Explores concrete tricks not theory: shows lambda-return indexing to make x[y] work by returning a closure that captures x and later accepts y, uses class body blocks via Class.new to generate audit-wrapped methods, implements a regex driven XML parser that builds dynamic classes and objects (then concedes Nokogiri is shorter), and assembles a tiny admin web UI by mapping URLs to methods with Method#to_proc and SimpleDelegator hooked to ActiveRecord backed by SQLite — it mostly works but relies on several deliberate dirty tricks.
AI-written summary · about
chapters (30)
- 0:00Intro
- 0:11Gold Sponsors
- 0:30James Edward Gray II
- 5:25Scenario
- 6:36The Challenge: Bad Idea
- 8:10A Block Without a Block
- 8:55Closure Keeps us Sane
- 9:56The Other Duck Typing
- 10:42The Solution Explained
- 11:34Blocks, Blocks Everywhere
- 13:11Ruby Structure on the Fly
- 13:41Who Needs Nokogiri? (Me!)
- 14:51Sprinkle Details to Taste
- 15:10Event Based Parsing
- 15:50Just in Time Classes
- 16:57Programming Ruby With Ruby
- 17:31Building the Tree of Objects
- 18:10The Taste Test
- 20:39Eat Your Heart Out
- 22:25Land of Lamdas (Procs)
- 23:36Where for art Thou to_proco?
- 24:37How do we Abuse This?
- 24:59An Array as a Web Application
- 25:24Smoke and Mirrors
- 25:58Requirements
- 26:59A Dirty Trick
- 28:40Step 1: Reserve a URL Space
- 28:56Step 2: Map URL's to Models
- 29:59The Do Nothing Proxy
- 30:39The Magic Changing Model








