Should "named routes" be resolved?
I have tried searching about it, but couldn't get a definitive answer (other than some references in a 2008 post about Ruby Wishlist).
If I have created a Rails route in rountes.rb, (e.g. match '/home', :to => 'pages#home'), should its reference in link_to call as: <li><%= link_to "Help", help_path %></li> in view/partial
be unresolved?
Is there any way to configures such that RM resolves it?
Thanks,
Kedar
请先登录再写评论。
Hello Kedar,
Code insight support for "match" syntax isn't implemented yet. RubyMine supports "resource" and Rails 2.x "map.connect", "map.something_named_root" syntax. Please track http://youtrack.jetbrains.net/issue/RUBY-7794