Missing default helper path

Posted on Sat Mar 04 15:15:00 UTC 2006

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

Posted in Quid Pro Quo  |  Tags ,  |  2 comments

Comments

  1. syedarifbadsha80@yahoo.com syedarifbadsha80@yahoo.com said // Dec 20, 2006 at 02:18 PM

    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. Pascal Pascal said // Dec 21, 2006 at 04:25 AM

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

(leave url/email »)

Comment Markup Help