Reputation: 221
I'm currently using rails 2.3.14 that has a lot of code which makes tracking hard. Is there any tool to DRY up some of my codes and also to view which codes are not really working?
Upvotes: 0
Views: 44
Reputation: 72504
Have a look at these Railscasts:
They cover many automated code analysis tools which might give you some hints on where to start.
But none of these tools is a replacement for automated tests. If you don't have any I suggest you create them first.
Upvotes: 1
Reputation: 3268
It's not clear here what you're after. What do you mean by "tracking"?
If you want to see code that's not used, my first choice would be rcov (for 1.8) or SimpleCov (for 1.9) to check code coverage.
Upvotes: 1