Emmanuel Cousin
- 9mo ยท
-
Publicยท
I used to generate scaffolds, models and controllers a lot when I was a junior developer. I read the Agile Development with Rails 4.2 from The Pragmatic Bookshelf and it was telling me to do it ๐
Then I figured it was generating too much stuff for me and I was taking more time to cut code after using generators than when I was creating whatever I needed manually.
Like, when you generate a controller, it also generates a helper, and a test file for each, but they're not the ones you want by default if you use Rspec, etc.
Then I figured it was generating too much stuff for me and I was taking more time to cut code after using generators than when I was creating whatever I needed manually.
Like, when you generate a controller, it also generates a helper, and a test file for each, but they're not the ones you want by default if you use Rspec, etc.