# Back again; errors in depot app

**URL:** <https://www.ruby-forum.com/t/back-again-errors-in-depot-app/95678>\
**Category:** Rails\
**Created:** [June 8, 2006, 9:35pm UTC](https://www.ruby-forum.com/t/back-again-errors-in-depot-app/95678 "2006-06-08T21:35:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dark\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/48db29/32.png) [@Dark\_A](https://www.ruby-forum.com/u/Dark_A)\
**Post date:** [June 8, 2006, 9:35pm UTC](https://www.ruby-forum.com/t/back-again-errors-in-depot-app/95678/1 "2006-06-08T21:35:29Z")

</div>

Sorry, but this is a big one - after adding the Ajax portion of the  
Agile  
Web D. tutorial my page displays:

Application error

Change this error message for exceptions thrown outside of an action  
(like  
in Dispatcher setups or broken Ruby code) in public/500.html  
It started when I added -  
page[:current\_item].visual\_effect :highlight,  
:startcolor =\> “#88ff88” ,  
:endcolor =\> “#114411”

Since the page is not giving any specific errors , and there is nothing  
in  
500.html I’m not sure where to look. I did check the development.log  
after rebooting Webrick and see this:

C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick\_server.rb:67:in  
`dispatch’

C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2  
/lib/commands/servers/webrick.rb:59

C:/INSTAN~1/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in  
`require’

C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:147:in  
`require’

C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2  
/lib/commands/server.rb:30

C:/INSTAN~1/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in  
`require’

C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:147:in  
`require’

script/server:3

Perhaps I’m missing a file / library / brain cells 🙂 .

Any guesses or suggestions greatly appreciated.

Stuart

---

<div class="post-metadata">

**Author:** ![Dark\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/48db29/32.png) [@Dark\_A](https://www.ruby-forum.com/u/Dark_A)\
**Post date:** [June 8, 2006, 10:16pm UTC](https://www.ruby-forum.com/t/back-again-errors-in-depot-app/95678/2 "2006-06-08T22:16:31Z")

</div>

> 

Do u include any library in your controller? Take a look at that…maybe  
the  
error had been provided from there.

Or take a look if in application.rhtml u have smth like:

\<%= javascript\_include\_tag :defaults%\>

> **[ActionView::Helpers::AssetTagHelper](https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html#M000482)**
>
> This module provides methods for generating HTML that links views to assets such as images, JavaScripts, stylesheets, and feeds.

---

<div class="post-metadata">

**Author:** ![Dark\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/48db29/32.png) [@Dark\_A](https://www.ruby-forum.com/u/Dark_A)\
**Post date:** [June 9, 2006, 12:05am UTC](https://www.ruby-forum.com/t/back-again-errors-in-depot-app/95678/3 "2006-06-09T00:05:31Z")

</div>

The call is made in the RJS file. There is no library referred to in the  
controller.  
I do not have an application.rhtml fille either …I’m starting to think  
that  
an error like this isn’t just from missing a js library.

Stuart

---

<div class="post-metadata">

**Author:** ![Dark\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/48db29/32.png) [@Dark\_A](https://www.ruby-forum.com/u/Dark_A)\
**Post date:** [June 9, 2006, 12:33am UTC](https://www.ruby-forum.com/t/back-again-errors-in-depot-app/95678/4 "2006-06-09T00:33:19Z")

</div>

Alright , I don’t know what happened but it turns out it was the same  
issue  
as earlier where I had a close “end” missing in one of my rb files.

Sorry  
Stuart
