Forum: Ruby on Rails Back again; errors in depot app

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
620c12639078ea2dde8a3b50ccee4c05?d=identicon&s=25 Dark Ambient (Guest)
on 2006-06-08 21:35
(Received via mailing list)
Sorry, but this is a big one - after adding the Ajax portion of the
Agile
Web Development 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
Ed5307c79ba5b415b1ddfee48319099b?d=identicon&s=25 Ioana Kanda (Guest)
on 2006-06-08 22:16
(Received via mailing list)
> <!--
> 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
> -->
>


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%>
http://api.rubyonrails.org/classes/ActionView/Help...
620c12639078ea2dde8a3b50ccee4c05?d=identicon&s=25 Dark Ambient (Guest)
on 2006-06-09 00:05
(Received via mailing list)
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
620c12639078ea2dde8a3b50ccee4c05?d=identicon&s=25 Dark Ambient (Guest)
on 2006-06-09 00:33
(Received via mailing list)
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
This topic is locked and can not be replied to.