Monday, January 09, 2012

Using Reek gem in Rails 3.1 projects

1. gem install reek
2. reek lib/*.rb > myreport.txt

You can run reports for app/models/*.rb, app/controllers/*.rb and app/helpers/*.rb