Skip to content

Instantly share code, notes, and snippets.

@llimllib
Created May 14, 2010 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save llimllib/401415 to your computer and use it in GitHub Desktop.
Save llimllib/401415 to your computer and use it in GitHub Desktop.
Request URL:http://localhost:3000/map/polys
Request Method:POST
Status Code:500 Internal Server Error
Request Headers
Accept:text/javascript, text/html, application/xml, text/xml, */*
Content-type:application/json; charset=UTF-8
Origin:http://localhost:3000
Referer:http://localhost:3000/map
User-Agent:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.9 (KHTML, like Gecko) Chrome/6.0.401.1 Safari/533.9
X-Prototype-Version:1.6.0.3
X-Requested-With:XMLHttpRequest
Request Payload
{"type":"Feature","id":"OpenLayers.Feature.Vector_449","properties":{},"geometry":{"type":"Point","coordinates":[-99.843750000002,62.754725927232]}}
Processing MapController#add_polygon (for 127.0.0.1 at 2010-05-14 11:03:13) [POST]
Processing ApplicationController#add_polygon (for 127.0.0.1 at 2010-05-14 11:03:13) [POST]
/!\ FAILSAFE /!\ Fri May 14 11:03:13 -0600 2010
Status: 500 Internal Server Error
undefined method `each' for -52.734375:Float
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:489:in `filter_parameters'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:496:in `filter_parameters'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:495:in `collect'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:495:in `filter_parameters'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:489:in `each'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:489:in `filter_parameters'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:493:in `filter_parameters'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:489:in `each'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:489:in `filter_parameters'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:1315:in `log_processing_for_parameters'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:1302:in `log_processing'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/base.rb:526:in `process_without_filters'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/rescue.rb:65:in `call_with_exception'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:91:in `dispatch'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:111:in `_call'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:82:in `initialize'
/Users/bill/lg/scout/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
/Users/bill/lg/scout/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
/Users/bill/lg/scout/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/Users/bill/lg/scout/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache'
/Users/bill/lg/scout/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'
/Users/bill/lg/scout/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in `call'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/reloader.rb:9:in `call'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/Users/bill/lg/scout/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call'
/Users/bill/lg/scout/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
/Users/bill/lg/scout/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in `process'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in `run'
/Users/bill/lg/scout/vendor/rails/railties/lib/commands/server.rb:111
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment