Hello friends -
Heres a small utility that might help find some old code in your apps:
http://thomasleecopeland.com/2014/09/18/olde-code-finder.html
For example:
$ bundle exec rake olde_code_finder:find_by_date[‘app/models/*.rb’,‘3
years’,‘70’]
More than 70% of app/models/foo.rb was written more than 3 years ago
More than 70% of app/models/bar.rb was written more than 3 years ago
More than 70% of app/models/baz.rb was written more than 3 years ago
And another:
$ bundle exec rake
olde_code_finder:find_by_author[‘app/models/*.rb’,‘Benjamin
Franklin’,‘50’]
More than 50% of app/models/foo.rb was written by Benjamin Franklin
More than 50% of app/models/bar.rb was written by Benjamin Franklin
More than 50% of app/models/baz.rb was written by Benjamin Franklin
Enjoy!
Yours,
Tom