rails_best_practices
rails_best_practices copied to clipboard
remove unused methods is suggest if method is used by prepend_before_action
If you use prepend_before_action (or the old prepend_before_filter) the railsbp reports that the method is not used and should be removed.
Same deal with before_action, after_action, around_action and their _filter aliases. We get false positives on all of them.