~/talk

Custom Rails Generators in RubyEvents

Talkat Rails World 2026 · 2026-09-23..09-24· [ruby-on-rails, ai-assisted-development]
slides:none on file

Shows how custom Rails generators create YAML CFPs for RubyEvents, demonstrating NamedBase vs Base, using class options and Thor templates, and handling file conflicts plus generator tests. Implements fixes: use a temp directory for generator destination, clean up in teardown, and set rails_log_to_stdout true so debug bindings work. Pairs the CLI with a markdown skill and auto-generated MCP tools, then benchmarks approaches: one no-tool run costs $183 and 136k tokens with four errors, while an MCP run hits $0.39 with zero mistakes, so smaller models + tools outperform frontier for scoped tasks.

AI-written summary · about

  1. 0:00The problem with YAML
  2. 1:34AI integration challenges
  3. 3:14Choosing between MCP and CLI
  4. 4:21Benefits of Rails generators
  5. 5:19Building the CFP generator
  6. 8:56Injecting context via usage
  7. 10:05Templates and execution
  8. 12:14Handling logic and formatting
  9. 13:51Testing Rails generators
  10. 18:35Defining the skill
  11. 20:05Integrating MCP tools
  12. 21:43Performance benchmarks
  13. 26:15Takeaways and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.