rails stats task useful when I join new projects. However, when I’d like to dig into more details, Rails doesn’t help me.
rails stats task tells me that controllers’ LOC is bigger than models. But how can I know which controller causes this? In fact, it’s not easy. Using
ls -l tells us the size of each file, but that includes comments so it’s not always useful.
Here I suggest
rails stats:controllers task, which tells something described above. It prints out stats information for given directories. This has some variations such as
I’d love to work on this feature if people like it. What do you think?