I set up my application and I get the following error: I googled it and some people mentioned that my database can be emty. Its not though. undefined method `downcase'' for nil:NilClass /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/request.rb:18:in `method'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:933:in `log_processing'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:407:in `process_without_filters'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in `process_without_session_management_support'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in `process'' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `dispatch'' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in `process_request'' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in `process!'' /usr/lib/ruby/1.8/fcgi.rb:594:in `each_cgi'' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in `process!'' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in `process!'' /home/dawie/ishopr.com/public/dispatch.fcgi:3 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I don''t think your DB is empty here but rather one attribute on your table. I can''t determine anything from the error message but that''s what it seems like to me. RSL On 4/16/07, David Smit <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > I set up my application and I get the following error: I googled it and > some people mentioned that my database can be emty. Its not though. > > undefined method `downcase'' for nil:NilClass > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5 > /lib/action_controller/request.rb:18:in > `method'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5 > /lib/action_controller/base.rb:933:in > `log_processing'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5 > /lib/action_controller/base.rb:407:in > `process_without_filters'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5 > /lib/action_controller/filters.rb:377:in > `process_without_session_management_support'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5 > /lib/action_controller/session_management.rb:117:in > `process'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in > `dispatch'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in > `process_request'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in > `process!'' > /usr/lib/ruby/1.8/fcgi.rb:594:in `each_cgi'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in > `process!'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in > `process!'' > /home/dawie/ishopr.com/public/dispatch.fcgi:3 > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I have the same problem? did you find a solution??? cheers On 4/17/07, David Smit <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > I set up my application and I get the following error: I googled it and > some people mentioned that my database can be emty. Its not though. > > undefined method `downcase'' for nil:NilClass > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5 > /lib/action_controller/request.rb:18:in > `method'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5 > /lib/action_controller/base.rb:933:in > `log_processing'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5 > /lib/action_controller/base.rb:407:in > `process_without_filters'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5 > /lib/action_controller/filters.rb:377:in > `process_without_session_management_support'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5 > /lib/action_controller/session_management.rb:117:in > `process'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in > `dispatch'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in > `process_request'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in > `process!'' > /usr/lib/ruby/1.8/fcgi.rb:594:in `each_cgi'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in > `process!'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in > `process!'' > /home/dawie/ishopr.com/public/dispatch.fcgi:3 > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
i''m a beginner, so not sure, but check your config file againstthe rails server version. i think dreamhost is on 1.22. seems like u on 1.16 try rails -v from console --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
fixed: I have seen this ages ago, but the error message was never so spurious the problem was dispatch.rb and .fcgi you need to either create them locally on the dreamhost (linux) box or run dos2unix on them On 5/30/07, mr_robot <robopop-aCaOOF52aklWk0Htik3J/w@public.gmane.org> wrote:> > > i''m a beginner, so not sure, but check your config file againstthe > rails server version. i think dreamhost is on 1.22. seems like u on > 1.16 > try rails -v from console > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---