Перейти к содержимому

Custom Rails Generators in RubyEvents by Rachael Wright-Munn

WNB rb Meetups

0:00 / 0:00

Custom Rails Generators in RubyEvents by Rachael Wright-Munn

32 просмотра · 13 дней назад
WNB rb Meetups
59 подписчиков
32 просмотра · 13 дней назад
At RubyEvents.org, we generate a lot of YAML. Contributors need an easy, idiomatic way to generate event files to the latest standards in an unfamiliar codebase. AI needs to generate files from unstructured data without drifting. These feel like different problems, but custom Rails generators can solve both. This will be a deep dive into how to build a custom generator: templates, mutating files, testing, and everything we learned the hard way at RubyEvents.