I've used the code by Ken Collins in a /config/initializers/mongrel.rb file but I'm still getting the issue. The error occurred while evaluating nil.size /home/mathew/.gem/ruby/1.8/gems/postgres-pr-0.6.3/lib/postgres-pr/message.rb:479:in `dump' /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/databases.rake:111:in `inject' /home/mathew/.gem/ruby/1.8/gems/postgres-pr-0.6.3/lib/postgres-pr/message.rb:479:in `each' /home/mathew/.gem/ruby/1.8/gems/postgres-pr-0.6.3/lib/postgres-pr/message.rb:479:in `inject' /home/mathew/.gem/ruby/1.8/gems/postgres-pr-0.6.3/lib/postgres-pr/message.rb:479:in `dump' /home/mathew/.gem/ruby/1.8/gems/postgres-pr-0.6.3/lib/postgres-pr/connection.rb:53:in `initialize' /home/mathew/.gem/ruby/1.8/gems/postgres-pr-0.6.3/lib/postgres-pr/postgres-compat.rb:23:in `new' /home/mathew/.gem/ruby/1.8/gems/postgres-pr-0.6.3/lib/postgres-pr/postgres-compat.rb:23:in `initialize' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/postgresql_adapter.rb:941:in `connect' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/postgresql_adapter.rb:941:in `connect' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/postgresql_adapter.rb:217:in `initialize' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `new' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in However, on the shared host the frontend of my app runs ok (http://spectrumplastics.net:12001/) but when I try to go to the login area (http://spectrumplastics.net:12001/refinery) I get a page using Firefox that The gist: Mongrel's CGI doesn't work in Rails 2.3.8+ w/o monkey patching 2 separate (old) bugs, one for Rack, and the other for Mongrel. http://linuxprofilm.com/the-error/the-error-occurred-while-evaluating-nil-each.html
Apr 15 '11 at 18:55 1 Post the full error with stack trace, you're omitting critical information. –Rein Henrichs Apr 15 '11 at 19:41 You are not going Pronunciation of 'r' at the end of a word How to deal with being asked to smile more? I did and it works. You flagged this item as spam.
Huge bug involving MultinormalDistribution? Your solution (August 30th, 2010 @ 06:43 PM and @ 07:58 PM) worked for me You flagged this item as spam. Report post Edit Delete Reply with quote Forum List Topic List New Topic Search Register User List Log In Enable email notification | Enable multi-page view Please log in before posting. Is Certificate validation done completely local?
script/server works fine, all good, but when I push out to my servers which use mongrel_cluster, when setting a cookie (such as after a login), I get the following: Error calling bshand July 27th, 2010 @ 10:11 AM Ken Collins' mongrel.rb initializer works for me -- on Windows with RubyGems 1.3.7 and Rails 1.8.6 (OneClick installer) / Rails 1.8.7 (RubyInstaller). Up to now, no patch has been proposed for this. Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc.
A question around Liouville's theorem Origin of “can” in the sense of ‘jail’ Is it dangerous to use default router admin passwords if only trusted users are allowed on the network? It is getting called now because the "cookie" is always a string -- never an Array nor Hash (at least in my tests). Already have an account? The response header has no Content-Type and it look like it's incomplete: curl 127.0.0.1:12002/users -I HTTP/1.1 200 OK Connection: close Date: Wed, 26 May 2010 09:24:44 GMT Content-Length: 0 The Mongrel
learn italian online May 19th, 2011 @ 04:17 AM brick, but when I deployed Ray Ban 2140 it to the production server with mongrel_rails it developed two Ray Ban 3025 bugs:a. A summary of what I've found about the bug: The OP's problem (calling nil.split) won't be resolved until rails 2 depends on a version of rack that has either https://github.com/rack/rack/commit/f6f3c60938ea3b08f3292a2480e6753... Reload to refresh your session. How to say each other on this sentence Output a googol copies of a string In a World Where Gods Exist Why Wouldn't Every Nation Be Theocratic?
Why is this not working correctly when put within the Ruby on Rails web pages? Thanks! Here is an idiot's guide - to save anyone having to trawl through all posts above to work it out: Download the file at http://gist.github.com/471663 and save to config/initializers/mongrel.rb in your You might have expected an instance of ActiveRecord::Base.
Java beginner exercise : Write a class "Air Plane" Trick or Treat polyglot Is giving my girlfriend money for her mortgage closing costs and down payment considered fraud? http://linuxprofilm.com/the-error/the-error-occurred-while-evaluating-nil-map.html What to do when majority of the students do not bother to do peer grading assignment? Fire up rails console (in your project directory) and execute Article.tag_counts_on('something') -- where 'something' is a keyword. empty v.
before sorting to ensure you have no nil values in the array. Should non-native speakers get extra time to compose exam answers? The error occurred while evaluating nil. * data: rails_root/opt/forgeexceptionYou have a nil object when you didn't expect it! check my blog or if updating rack is tough, just make this change manually (sorry no diff) to gems/actionpack-2.3.8/lib/action_controller/cgi_process.rb at around :51.
You have a nil object when you didn't expect it! Reload to refresh your session. Thanks. #7 Updated by Nick Lewis over 4 years ago I wrote a couple of specs for it, but honestly I can’t remember all I had to do to make them
Terms Privacy Security Status Help You can't perform that action at this time. Check out the new community here! share|improve this answer answered Mar 14 '12 at 20:10 Tom Harrison Jr 7,69722665 probably you have right. Simple - only took a few minutes Jeff Kreeftmeijer November 8th, 2010 @ 08:23 AM Tag cleared.
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com Description -------- Original Message -------- Subject: [forge ERROR] releases#find (NoMethodError) "You have a nil object when you didn't expect it!\nYou might have expected As of today. You flagged this item as spam. news Thank you.
I couldn't find where that happens, and won't be resolved until rails/rack/whatever doesn't un-array the 'cookie' header, or a new version of mongrel comes out. Updated over 4 years ago. Parse error. asked 4 years ago viewed 330 times active 4 years ago Related 2Error Messages with form_tag in separate controller Rails 30parsing facebook json in rails avoid error occurred while evaluating nil.0Rails:
Andrea Campi October 16th, 2010 @ 11:36 PM Tag changed from 2, mongrel, mongrel_cluster, rack to 2-3-stable, mongrel, mongrel_cluster, rack You flagged this item as spam. Not the answer you're looking for? and have a nil object? Can a meta-analysis of studies which are all "not statistically signficant" lead to a "significant" conclusion?
You have a nil object when you didn't expect it!