I'm doing some maintenance on an old Hobo 1.0.1 application and as part of 
the process bringing it up to 1.1.0.  In trying to get the development 
environment running I've run up against a weird problem - the first page 
load works fine but all subsequent pages fail, including the successful 
page if I reload it.  If I restart webbrick then I can load another page 
but again all subsequent requests fail.

The error reported is:

Processing SitesController#show (for 127.0.0.1 at 2012-09-06 09:51:04) [GET]
  Parameters: {"controller"=>"sites", "action"=>"show", "id"=>"419-nad034"}
  Site Load (0.8ms)   SELECT * FROM `sites` WHERE (`sites`.`id` = 419) 
ORDER BY `sites`.code
  SQL (0.7ms)   SHOW TABLES
Rendering sites/show

ActionView::TemplateError (wrong number of arguments (2 for 1)) on line #1 
of app/views/sites/show.dryml:
1: <show-page>
2:   <append-scripts:>
3:     <%= GMap.header %>
4:   </append-scripts:>

    app/views/sites/show.dryml:1:in `render'
    app/views/sites/show.dryml:1:in 
`_run_dryml_app47views47sites47show46dryml'
    dryml (1.1.0) lib/dryml/template_handler.rb:108:in `render'
    dryml (1.1.0) lib/dryml/template_handler.rb:83:in `render_for_file'
    hobo (1.1.0) lib/hobo/model_controller.rb:821:in `render'
    hobo (1.1.0) lib/hobo/controller.rb:23:in `call'
    hobo (1.1.0) lib/hobo/controller.rb:23:in `included_in_class'
    /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'


I have updated all of the gems to 1.1.0 and their dependencies but haven't 
modified any of the 1.0.1 code yet.  

I'm pretty stumped by this. Any suggestions where to start looking?

Thanks,

Dean

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/isaNxdKtZeMJ.
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.

Reply via email to