Keeping your code clean and organized while developing a large Rails application can be quite a challenge, even for an experienced developer. Fortunately, there is a whole category of gems that make this job much easier.
For most people, dead/inefficient code will build up over time. Others will find themselves in a similar predicament when they take over someone else's project.