Getting: “Couldn't find SessionsHelper, expected it to be defined in helpers/sessions_helper.rb”

后端 未结 5 939
予麋鹿
予麋鹿 2021-01-19 07:58

I am getting the following in my log file upon loading /login/.

Started GET \"/login\" for 120.138.93.108 at 2016-01-02 03:06:24 +0000

Act

5条回答
  •  感动是毒
    2021-01-19 08:31

    In my case, I had an :

    include ModuleName

    pointing to a non existing module in a model. This one has been previously removed but I had miss the reference.

    I had the exact same "Couln't find ..." error with every helpers I have in my app so it was pretty difficult to find out where the problem came from.

提交回复
热议问题