In the world of programming and scripting, most programmers are bound to find some odds and ends especially when they are on the verge of compiling their designed program. Debugging them prior to compilation will surely return some errors and for sure, programmers will be wondering which part of their script needs to be double checked.
Ruby on Rails or ROR is a good tool to use to see if everything is in place. Especially if you are using a database driven site, it would be wise to make sure that there are no duplications as far as reference for the whole script is concerned. In a sense, you may want to consider ROR an ally when it comes to making sure that your program flow is aligned and functioning properly.