Rails-View doesn't find partials in subdirectories

Hi there,

I use the "View as Rails"-Option to group my views/helpers/partials per controller - it's a very cool thing in RubyMine.
BUT
If I use subdirectories, like

%RAILS_ROOT%/app/views/controller/subdirectory/_partialname.html.haml


RubyMine doesn't find my partials.
They even don't exist in "Views (unclassified)".

2 comments
Comment actions Permalink

Hello neogrande,

Thanks for your report! This is indeed a bug in RubyMine. I've filed a JIRA
issue for the problem:
http://www.jetbrains.net/jira/browse/RUBY-4413
You can watch it to get notified when the problem is fixed.

I use the "View as Rails"-Option to group my views/helpers/partials
per controller - it's a very cool thing in RubyMine.

BUT

If I use subdirectories, like

<code>

%RAILS_ROOT%/app/views/controller/subdirectory/_partialname.html.h
aml

</code>

RubyMine doesn't find my partials.

They even don't exist in "Views (unclassified)".


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi Dmitry

Using the new EAP 1421 partials in subdirectories of /views/controllername/ are still not visible in the Rails View, which would be a real benefit otherwise for me.

Will there be a solution for this anytime soon or are there too few votes for this on JIRA issue tracker?

Cheers
Hubert

0

Please sign in to leave a comment.