I've been working and trying to get my head around hobo but when i went to the viewhints for category model and wanted to say children :products suddenly the server went fubar
Internal Server Error undefined method `klass' for nil:NilClass WEBrick/1.3.1 (Ruby/1.8.7/2010-01-10) at localhost:3000 I read here that it can happen with older Hobo versions but as you can see I'm using 1.0.1. Any help? log output => Booting WEBrick => Rails 2.3.5 application starting on http://0.0.0.0:3000 /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb: 119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement => Call with -d to detach => Ctrl-C to shutdown server [2010-08-26 19:10:33] INFO WEBrick 1.3.1 [2010-08-26 19:10:33] INFO ruby 1.8.7 (2010-01-10) [i486-linux] [2010-08-26 19:10:38] INFO WEBrick::HTTPServer#start: pid=12059 port=3000 [2010-08-26 19:10:43] ERROR NoMethodError: undefined method `klass' for nil:NilClass /usr/lib/ruby/gems/1.8/gems/hobosupport-1.0.1/lib/hobo_support.rb: 29:in `safe_constantize' /usr/lib/ruby/gems/1.8/gems/hobo-1.0.1/lib/hobo/view_hints.rb:36 /usr/lib/ruby/gems/1.8/gems/hobo-1.0.1/lib/hobo/view_hints.rb:21:in `instance_exec' /usr/lib/ruby/gems/1.8/gems/hobo-1.0.1/lib/hobo/view_hints.rb:21:in `children' /home/scorpio/Desktop/Sites/HOBO/jestemsuper/app/viewhints/ category_hints.rb:2 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:380:in `load_without_new_constant_marking' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:380:in `load_file' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:521:in `new_constants_in' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:379:in `load_file' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:259:in `require_or_load' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:425:in `load_missing_constant' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:80:in `const_missing' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:92:in `const_missing_before_generators' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator/lookup.rb: 15:in `const_missing' (eval):1:in `safe_constantize' /usr/lib/ruby/gems/1.8/gems/hobo-1.0.1/lib/hobo/model.rb:371:in `view_hints' /usr/lib/ruby/gems/1.8/gems/hobosupport-1.0.1/lib/hobo_support/ enumerable.rb:46:in `send' /usr/lib/ruby/gems/1.8/gems/hobosupport-1.0.1/lib/hobo_support/ enumerable.rb:46:in `method_missing' /usr/lib/ruby/gems/1.8/gems/hobosupport-1.0.1/lib/hobo_support/ enumerable.rb:46:in `map' /usr/lib/ruby/gems/1.8/gems/hobosupport-1.0.1/lib/hobo_support/ enumerable.rb:46:in `send' /usr/lib/ruby/gems/1.8/gems/hobosupport-1.0.1/lib/hobo_support/ enumerable.rb:46:in `method_missing' /usr/lib/ruby/gems/1.8/gems/hobo-1.0.1/lib/hobo/dryml/ dryml_generator.rb:79:in `run' /usr/lib/ruby/gems/1.8/gems/hobo-1.0.1/lib/hobo/dryml/ dryml_generator.rb:50:in `run' /usr/lib/ruby/gems/1.8/gems/hobo-1.0.1/lib/hobo/dryml/ dryml_generator.rb:33:in `reload_application' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/ reloader.rb:33:in `run' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/ dispatcher.rb:108:in `call' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb: 31:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb: 17:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb: 13:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb: 50:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb: 14:in `run' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
