laredotornado-8iDLEspWrrZBDgjK7y7TUQ@public.gmane.org
2008-Feb-26 16:39 UTC
Missing Helper file helpers/all_helper.rb ?
Hi, I have this line in my application.rb controller: helper :all # include all helpers, all the time which in the 1.2.3 Rails Gem environment I''m in, is causing this error: We''re sorry, but something went wrong. We''ve been notified about this issue and we''ll take a look at it shortly. and in the log file: Missing helper file helpers/all_helper.rb /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_controller/helpers.rb:71:in `helper'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_controller/helpers.rb:58:in `each'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_controller/helpers.rb:58:in `helper'' ./../config/../app/controllers/application.rb:60 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:203:in `load_without_new_constant_marking'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:203:in `load_file'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:342:in `new_constants_in'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:202:in `load_file'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:94:in `require_or_load'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:60:in `depend_on'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:442:in `require_dependency'' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:110:in `prepare_application'' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:39:in `dispatch'' When I remove this line from the log file, everything seems to work. But this line was auto-generated. What does this mean and is there something I should be worried about here? - Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 26 Feb 2008, at 16:39, laredotornado-8iDLEspWrrZBDgjK7y7TUQ@public.gmane.org wrote:> > Hi, > > I have this line in my application.rb controller: > > helper :all # include all helpers, all the time > > which in the 1.2.3 Rails Gem environment I''m in, is causing this > error:> `dispatch'' > > When I remove this line from the log file, everything seems to work. > But this line was auto-generated. What does this mean and is there > something I should be worried about here? - Dave >That''s something that was added in 2.0. Are you developing/running with different versions of rails? Fred
laredotornado-8iDLEspWrrZBDgjK7y7TUQ@public.gmane.org
2008-Feb-27 01:13 UTC
Re: Missing Helper file helpers/all_helper.rb ?
Ah, no. The host is running 1.2.3. - Dave On Feb 26, 11:02 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 26 Feb 2008, at 16:39, laredotorn...-8iDLEspWrrZBDgjK7y7TUQ@public.gmane.org wrote: > > > > > Hi, > > > I have this line in my application.rb controller: > > > helper :all # include all helpers, all the time > > > which in the 1.2.3 Rails Gem environment I''m in, is causing this > > error: > > `dispatch'' > > > When I remove this line from the log file, everything seems to work. > > But this line was auto-generated. What does this mean and is there > > something I should be worried about here? - Dave > > That''s something that was added in 2.0. Are you developing/running > with different versions of rails? > > Fred > > smime.p7s > 5KDownload--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 27 Feb 2008, at 01:13, laredotornado-8iDLEspWrrZBDgjK7y7TUQ@public.gmane.org wrote:> > Ah, no. The host is running 1.2.3. - Dave >If you''re running 2.0 where you develop (which seems likely given the autogenerated code), then you''re setting yourself up for a world of pain. Fred> On Feb 26, 11:02 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: >> On 26 Feb 2008, at 16:39, laredotorn...-8iDLEspWrrZBDgjK7y7TUQ@public.gmane.org wrote: >> >> >> >>> Hi, >> >>> I have this line in my application.rb controller: >> >>> helper :all # include all helpers, all the time >> >>> which in the 1.2.3 Rails Gem environment I''m in, is causing this >>> error: >>> `dispatch'' >> >>> When I remove this line from the log file, everything seems to work. >>> But this line was auto-generated. What does this mean and is there >>> something I should be worried about here? - Dave >> >> That''s something that was added in 2.0. Are you developing/running >> with different versions of rails? >> >> Fred >> >> smime.p7s >> 5KDownload > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---