Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive for "Remove unused method" when helper method is used from another helper #278

Open
hakanai opened this issue Jul 28, 2016 · 0 comments

Comments

@hakanai
Copy link

hakanai commented Jul 28, 2016

I receive a false positive on "Remove unused method" when a helper method is used from another helper method. In this particular case:

module ApplicationHelper
  def named_model_options(model_class, additional = [])
    #omitted
  end
end

module RelationshipsHelper
  def relationship_options(additional = [])
    named_model_options(Relationship, additional)
  end
end

I get the warning on "named_model_options" even though it is called from almost every other helper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant