Rails/ContentTag
should not capture #tag
calls that's not the ActionView::Helpers::TagHelper#tag
#543
Labels
bug
Something isn't working
Expected behavior
Rails/ContentTag
should not capture#tag
calls that's not theActionView::Helpers::TagHelper#tag
Actual behavior
It does
Steps to reproduce the problem
I have this code that tags intercom users,
intercom.tags.tag(foo: 'foo, bar: 'bar')
. The method comes from Intercom gem (https://github.com/intercom/intercom-ruby#tags), notActionView::Helpers::TagHelper#tag
. This code is inspected by this cop and error is raised:RuboCop version
The text was updated successfully, but these errors were encountered: