On Oct 5, 2005, at 6:04 PM, Justin Dossey wrote:
> hi all,
>
> perform_action needs complete_request_uri to complete, but the
> request.host is nil on HEAD requests. This causes my app to send a
> 500 or a 404.
>
> cannot convert nil into String
> usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/
> base.rb:807:in
> `+''
>
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/
> base.rb:807:in
> `complete_request_uri''
>
> It''s tempting to change request.host to (request.host ||
''default'')
> or something, but I don''t know how the data from
complete_request_uri
> is used. What''s the appropriate fix?
This is fixed in the beta gems.
- Jamis