Cleaning up a huge ruby application

Ruby