Are you using Rack? It looks like you might be experiencing this error (or something very similar):
http://www.elctech.com/snippets/-solved-500-internal-server-error-string-not-matched On Apr 11, 10:47 am, Gavin <[email protected]> wrote: > In my app I've started to get a 500 error whenever trying to post to a > create method > > /!\ FAILSAFE /!\ Sat Apr 11 18:42:28 +0100 2009 > Status: 500 Internal Server Error > string not matched > > According to the log it doesn't even get as far as the POST > > anyone know what might be causing this? > > I also have nested resources in my app - when creating one of them > they seem to work fine! ? > > here's the full trace from the log: > > /!\ FAILSAFE /!\ Sat Apr 11 18:42:28 +0100 2009 > Status: 500 Internal Server Error > string not matched > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/utils.rb:73:in `[]=' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/utils.rb:73:in > `normalize_params' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/utils.rb:89:in > `normalize_params' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/utils.rb:58:in > `parse_nested_query' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/utils.rb:56:in `each' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/utils.rb:56:in > `parse_nested_query' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/request.rb:132:in `POST' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/methodoverride.rb:15:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/params_parser.rb:15:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/rewindable_input.rb:25:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/session/cookie_store.rb:93:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/reloader.rb:9:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/failsafe.rb:11:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/lock.rb:11:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/lock.rb:11:in `synchronize' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/lock.rb:11:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/dispatcher.rb:106:in `call' > /Users/Gavin/.gem/ruby/1.8/gems/rails-2.3.2/lib/rails/rack/ > static.rb:31:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/urlmap.rb:46:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in `each' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in `call' > /Users/Gavin/.gem/ruby/1.8/gems/rails-2.3.2/lib/rails/rack/ > log_tailer.rb:17:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/content_length.rb:13:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/chunked.rb:15:in `call' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:61:in > `process' > /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > 159:in `process_client' > /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > 158:in `each' > /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > 158:in `process_client' > /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > 285:in `run' > /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > 285:in `initialize' > /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > 285:in `new' > /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > 285:in `run' > /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > 268:in `initialize' > /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > 268:in `new' > /Users/Gavin/.gem/ruby/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > 268:in `run' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ > action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:34:in `run' > /Users/Gavin/.gem/ruby/1.8/gems/rails-2.3.2/lib/commands/server.rb: > 111 > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > script/server:3 --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

