Rubimin does not understand the helpers of the way

I am using Rubymine (5.4.3.2.1) for the Hartl RoR tutorial and am having problems with path helpers. root_path works fine, but rubimine says, “Can't find xxxx_path” for the rest of the actions in my controller.

Rspec and Rails server works fine with the same path helpers !!

My .rb routes:

SampleProject::Application.routes.draw do
  get "users/new"

  root 'static_pages#home'
  match '/signup',  to: 'users#new', via: 'get'
  match '/help', to: 'static_pages#help', via: 'get'
  match '/about', to: 'static_pages#about', via: 'get'
  match '/contact', to: 'static_pages#contact', via: 'get'
end

I also tried using get instead of matching, but that didn't help.

+4
source share
1 answer

Ruby is a dynamic language, so some things are hard to parse for an IDE.

, "people_path" .., , , !

0

All Articles