downloads failing in ruby 1.8.7+example

 

 

Started GET "/files/Home+ContactDownload-6085.pdf" for 10.5.4.20 at Wed Oct 10 11:03:47 -0700 2012
Processing by CardController#show_file as PDF
  Parameters: {"id"=>"Home+ContactDownload-6085"}
exception = ArgumentError: interning empty string


Controller exception: interning empty string
Completed 500 Internal Server Error in 279ms

ArgumentError (interning empty string):
  app/controllers/application_controller.rb:146:in `render_show_file'
  app/controllers/application_controller.rb:122:in `render_show'
  app/controllers/application_controller.rb:106:in `render_errors'
  app/controllers/application_controller.rb:176:in `__bind_1349892228_291061'

rocessing by ApplicationController#bad_address as PNG
Parameters: {"id"=>"attaches/icon/missing"}
exception = Wagn::BadAddress: could not find a route to match this address
attachment_format issue: can't convert nil into String
Rendered text template (0.0ms)
Completed 404 Not Found in 8ms (Views: 1.4ms | ActiveRecord: 0.0ms)


Started GET "/files/Home+ContactDownload-6085.pdf" for 10.5.4.20 at Wed Oct 10 16:01:20 -0700 2012
Processing by CardController#show_file as PDF
Parameters: {"id"=>"Home+ContactDownload-6085"}
exception = ArgumentError: interning empty string