I want to clean my haml template files from warnings about unresolved methods.
I have following code:
-if current_user.is_admin? || current_user.is_operator?
Where is_admin? and is_operator? methods came from easy_roles gem.
I constantly receive "Unresolved Ruby reference" warning.
How to avoid this?
Placing "#noinspection RubyResolve" like in general ruby files does not do the trick.