add code statistics likewise to rails if possible