I am using SpaceVim as Ruby on Rails IDE and installed the tpope/vim-rails plugin. However, the other commands like :Econtroller, :Emodel, :find, commands are working just fine but the gf command provided by this plugin is not working in SpaceVim.
It shows me with an error message.
# for partial
Can't find file "users/edit_form" in path
# with association
User has_many :notes
Can't find file "notes" in path
Also I noticed that for
has_one :user,
belongs_to :user
gf
works fine.
But don't work for
has_many :users
For partial if I change
<%= render partial: 'partial_name' %>
to
<%= render partial: '_partial_name' %>
then gf
works fine.