You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.
What is supposed to be in req.headers['PATTERN'] ? My rails app (the typo blog software) displayed the front page fine on the first load, then hitting reload in the browser caused a ruby exception.
/usr/local/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-mongrel2-0.2.3/lib/rack/handler/mongrel2.rb:34:in `run': You have a nil object when you didn't expect it! (NoMethodError)
You might have expected an instance of Array.
The error occurred while evaluating nil.split
What is supposed to be in req.headers['PATTERN'] ? My rails app (the typo blog software) displayed the front page fine on the first load, then hitting reload in the browser caused a ruby exception.
/usr/local/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-mongrel2-0.2.3/lib/rack/handler/mongrel2.rb:34:in `run': You have a nil object when you didn't expect it! (NoMethodError)
You might have expected an instance of Array.
The error occurred while evaluating nil.split
34: script_name = ENV['RACK_RELATIVE_URL_ROOT'] || req.headers['PATTERN'].split('(', 2).first.gsub(//$/, '')
The text was updated successfully, but these errors were encountered: