I’ve created a free 9 day course on Refactoring Ruby on Rails Controllers. It discusses and reviews 9 refactorings that I recently did to ChiliProject’s ProjectsController including:
- Auditing dead code (or zombie code that looks dead but could come back to life and bite you later)
- The wrong way to use filters
- Consolidating your guards
- Sharing data between multiple methods
- Why code comments suck
I wanted to share these while they were still fresh. I’m been doing them over the past few years I’ve been working with Rails and they’ve become pretty internalized. So if I didn’t write them down now, I don’t know if I’d ever get a chance to share them.
I’d be honored if you could subscribe and let me know what you think about it. Just fill out the form to the right or follow this link to sign up for Refactor Controllers.