Cannot find before_action (RubyMine 8 EAP)
RubyMine 8 Kusunoki EAP (build 142.4465)
I have multiple projects in git.
I confgiure multiple roots in RubyMine project
Index was created without issues.
I can use go to Declaration and so on.
When I open one of my controllers I have warning about "Cannot find before_filter", but all filters are present in this file.
Please sign in to leave a comment.
Hello Ivan,
could you please tell me where 'Go to declaration' leads from before_filter/before_action (a screenshot would be great)
If I understood you right, I have pressed command+b for "Go to declaration" action.
I have test this in fresh generated project, and its works fine. When I choose Go to Declaration, callbacks.rb file opened. And no warnings.
May be issue when you include(add) additional root folder to project?
I have create new empty project and add previous one as new content root. I have this issue reproduced.
Hi,
I might be wrong (because I do not see the whole structure you have) but RubyMine is rather simple IDE and it usually presumes that there is only one application for one project. In your case I'd suggest to create several projects (one fore every application you have in the git repo) and open them all in one window.
Hope this helps, Oleg.