in Quid Pro Quo

Missing default helper path

Here’s one of these things that can have you go huh?

So, here’s what happened. I created new rails app from scratch

rails ajax-test
script/generate ajax_scaffold Widget Widget
script/server

=> no page worked, only error was:

Controllers::RailsInfoController: missing default helper path
rails_info_helper when trying to access environment link

Thanks to John Martin in this post for the solution.

The solution indeed was to remove all /tmp/ruby_sess* files and restart WEBrick

  1. I got the same problem with other generator.
    Clear the session variables with the rake cmd- rake tmp:clear .
    This might solve your problem

  2. Thanks for the tip. This can be especially helpful if you don’t have shell access and can only do things via capistrano.

Comments are closed.