# Missing Helper file helpers/all\_helper.rb?

**URL:** <https://www.ruby-forum.com/t/missing-helper-file-helpers-all-helper-rb/130238>\
**Category:** Rails\
**Created:** [February 26, 2008, 5:40pm UTC](https://www.ruby-forum.com/t/missing-helper-file-helpers-all-helper-rb/130238 "2008-02-26T17:40:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 26, 2008, 5:40pm UTC](https://www.ruby-forum.com/t/missing-helper-file-helpers-all-helper-rb/130238/1 "2008-02-26T17:40:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 26, 2008, 6:03pm UTC](https://www.ruby-forum.com/t/missing-helper-file-helpers-all-helper-rb/130238/2 "2008-02-26T18:03:44Z")

</div>

On 26 Feb 2008, at 16:39, removed\_email\_address@domain.invalid 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

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 27, 2008, 3:34am UTC](https://www.ruby-forum.com/t/missing-helper-file-helpers-all-helper-rb/130238/3 "2008-02-27T03:34:25Z")

</div>

Ah, no. The host is running 1.2.3. - Dave

On Feb 26, 11:02 am, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 27, 2008, 7:41am UTC](https://www.ruby-forum.com/t/missing-helper-file-helpers-all-helper-rb/130238/4 "2008-02-27T07:41:10Z")

</div>

On 27 Feb 2008, at 01:13, removed\_email\_address@domain.invalid 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
