Is there a way to have RubyMine recognize methods that are defined by a gem? For example, I am using Devise and CanCan. Devise methods such as user_signed_in? RubyMine cannot find. It can't even find its declaration but of course the method works just find in all environments. Even routes defined by Devise like user_session_path are unrecognized. In CanCan, resource variables are unknown after they have been initialized by CanCan's load_resource method. Interestingly, this method is found.
Forgive me if this has been answered already. I assumed it would have been but I could not find it in a search.