[ANN] rails_best_practices 1.4.0 released

flyerhzm Posted by flyerhzm on November 20, 2011

I just released rails_best_practices 1.4.0,  the changes are as follows:

1. add RemoveUnusedMethodsInControllersCheck, which can detect the unused methods in controllers.

2. add RoutePrepare, which parses the routes in prepare process.

3. abstract Core::Check::Callable module, which adds callbacks to mark methods are used.

4. interesting_nodes and interesting_files are declarative instead of methods now.

class RemoveUnusedMethodsInControllers
  interesting_nodes :class
  interesting_files CONTROLLER_FILES

Check it here https://github.com/flyerhzm/rails_best_practices

comments powered by Disqus