flyerhzm / rails_best_practices

a code metric tool for rails projects
http://rails-bestpractices.com
MIT License
4.16k stars 276 forks source link

False positive unused method in helpers and slim #367

Closed DmitryBarskov closed 4 years ago

DmitryBarskov commented 4 years ago

My case - I have a helper method used in .slim file like this: input[data-attribute=helper_method(model) ...] But rails_best_practices check fails on this method declaration.

DmitryBarskov commented 4 years ago

My bad.