# Stuck on undefined method \`downcase' for nil:NilClass

**URL:** <https://www.ruby-forum.com/t/stuck-on-undefined-method-downcase-for-nil-nilclass/190124>\
**Category:** Deployment\
**Created:** [June 16, 2010, 11:02am UTC](https://www.ruby-forum.com/t/stuck-on-undefined-method-downcase-for-nil-nilclass/190124 "2010-06-16T11:02:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonuser](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e79b87/32.png) [@anonuser](https://www.ruby-forum.com/u/anonuser)\
**Post date:** [June 16, 2010, 11:02am UTC](https://www.ruby-forum.com/t/stuck-on-undefined-method-downcase-for-nil-nilclass/190124/1 "2010-06-16T11:02:55Z")

</div>

Anyone have encounter this problem ?“undefined method `downcase’ for  
nil:NilClass”

run on port :3000 successful

Thanks in advance

[root@ public]# ruby dispatch.fcgi

Status: 500 Internal Server Error  
Content-Type: text/plain

undefined method `downcase' for nil:NilClass ../config/../vendor/rails/actionpack/lib/action_controller/request.rb:17:in`method’  
…/config/…/vendor/plugins/filter\_logged\_params/lib/filter\_logged\_params.rb:70:in  
`log_processing' ../config/../vendor/rails/actionpack/lib/action_controller/base.rb:378:in`process\_without\_filters’  
…/config/…/vendor/rails/actionpack/lib/action\_controller/filters.rb:364:in  
`process_without_session_management_support' ../config/../vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in`process’  
…/config/…/vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:150:in`process\_request’  
…/config/…/vendor/rails/railties/lib/fcgi\_handler.rb:54:in `process!' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in`each\_cgi’  
…/config/…/vendor/rails/railties/lib/fcgi\_handler.rb:53:in `process!' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:23:in`process!’

\*\*\* LOCAL GEMS \*\*\*

actionmailer (1.2.2)  
Service layer for easy email delivery and testing.

actionpack (1.12.2)  
Web-flow and rendering framework putting the VC in MVC.

actionwebservice (1.1.3)  
Web service support for Action Pack.

activerecord (1.14.3)  
Implements the ActiveRecord pattern for ORM.

activesupport (1.3.1)  
Support and utility classes used by the Rails framework.

fcgi (0.8.7)  
FastCGI library for Ruby.

hoe (2.3.3)  
Hoe is a rake/rubygems helper for project Rakefiles

mysql (2.7)  
MySQL/Ruby provides the same functions for Ruby programs that the  
MySQL C API provides for C programs.

rails (1.1.3)  
Web-application framework with template engine, control-flow layer,  
and ORM.

rake (0.8.7, 0.8.0)  
Ruby based make-like utility.

rubyforge (1.0.4)  
A script which automates a limited set of rubyforge operations
