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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060608/60bed806/attachment.html
> <!-- > 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/Helpers/AssetTagHelper.html#M000482 _______________________________________________> Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Cheers, ioana k&a http://boulangerie.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060608/49023bc5/attachment.html
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 On 6/8/06, Ioana Kanda <kaio4000@gmail.com> wrote:> > > <!-- > > > > 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/Helpers/AssetTagHelper.html#M000482 > > > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > -- > Cheers, > ioana k&a > http://boulangerie.wordpress.com/ > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060608/9847aa26/attachment.html
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 On 6/8/06, Dark Ambient <sambient@gmail.com> wrote:> > 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 > > > > On 6/8/06, Ioana Kanda <kaio4000@gmail.com> wrote: > > > > > > <!-- > > > > > > 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/Helpers/AssetTagHelper.html#M000482 > > > > > > > > > > > > _______________________________________________ > > > Rails mailing list > > > Rails@lists.rubyonrails.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > > > > > > > -- > > Cheers, > > ioana k&a > > http://boulangerie.wordpress.com/ > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060608/fcb39b8d/attachment.html