
Generators: Rails' Unknown Power Feature - RUBY 602
Ruby Rogues
00:00
How to Build a Generator in Rails
The time to build a generator is kind of the variable, like how long it takes you to start a generator and finish it and have it working. Say a given task takes you 30 seconds. And if you perform that task once a week, then your ROI, meaning like the value, like I could baby spend 10 minutes on a generator and this will pay for itself in 20 weeks. So my goal is to make it so that the creation of the generators is so little time that even small tasks that are tedious could be responsibly handled by a generator.
Play episode from 19:38
Transcript


