Cleaning up Code: Removing Unnecessary Rails Helpers
Since my recent switch to Eclipse, I've been compelled to cleanup my codebase. I'm into a Rails project, and I've been using the ruby script/generate commands, which also create "helper" files in the \app\helpers directory. Since I have only a few helpers in place at the moment, I consolidated them into "application_controller.rb" and removed the remaining helpers, which cut my codebase by about 40% (from 86 files to 50).
Tending to my garden, so to speak "rake doc:app" and "rake doc:plugins" generates html readable documentation for the code base.
Helpful Rdoc Link - http://rdoc.sourceforge.net/doc/index.html
Rdoc Example - http://rdoc.sourceforge.net/doc/classes/Anagram.html
By Ryan Wold · © 2010–2026 Ryan Wold
Licensed CC BY-NC 4.0. AI training requires a license — machine-readable terms.
Enjoyed this? — any BSV wallet, HandCash, or plain old dollars.