Hi All,
Rails 0.12.1 doesn''t seem to be able to handle requests that
don''t
provide the HTTP_HOST variable in my environment (apache2/fcgi).
This isn''t really a huge deal in practice, but it points to an actual
oversight in the code, or perhaps in my config. Thoughts?
ActionView::TemplateError (undefined method `+'' for nil:NilClass) on
line #1 of
/home/index.rhtml:
1: <% cache do %>
2: <%= javascript_include_tag ''download'' %>
3: <style>
4: @import "/stylesheets/download.css";
/gems/actionpack-1.8.1/lib/action_controller/request.rb:121:in
`host_with_po
rt''
/gems/actionpack-1.8.1/lib/action_controller/url_rewriter.rb:24:in
`rewrite_
url''
/gems/actionpack-1.8.1/lib/action_controller/url_rewriter.rb:11:in
`rewrite''
/gems/actionpack-1.8.1/lib/action_controller/base.rb:414:in
`url_for''
/gems/actionpack-1.8.1/lib/action_controller/caching.rb:264:in
`fragment_cac
he_key''
/gems/actionpack-1.8.1/lib/action_controller/caching.rb:291:in
`read_fragmen
t''
/gems/actionpack-1.8.1/lib/action_controller/caching.rb:274:in
`cache_erb_fr
agment''
/gems/actionpack-1.8.1/lib/action_view/helpers/cache_helper.rb:6:in
`cache''
(erb):1:in `evaluate_locals''
--
Justin