search for: parse_request_paramet

Displaying 9 results from an estimated 9 matches for "parse_request_paramet".

2006 Jun 21
7
sortable tree problem
...b/action_controller/cgi_ext/cgi_methods.rb:214:in `build_deep_hash'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/cgi_methods.rb:214:in `build_deep_hash'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/cgi_methods.rb:54:in `parse_request_parameters'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/cgi_methods.rb:47:in `parse_request_parameters'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_process.rb:70:in `request_parameters'' /usr/lib/ruby/gems/1.8/gems/action...
2006 Apr 17
3
help debugging an error
...b/action_controller/cgi_ext/cgi_methods.rb:214:in `build_deep_hash'' ./script/../config/../vendor/rails/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:214:in `build_deep_hash'' ./script/../config/../vendor/rails/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:54:in `parse_request_parameters'' ./script/../config/../vendor/rails/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:47:in `each'' ./script/../config/../vendor/rails/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:47:in `parse_request_parameters'' ./script/../config/../vendor/rails/actio...
2006 Jan 28
0
submitting xml documents from POST request/ test framework
...nternal Server error to my client. results are the same with both webrick and apache/fastcgi. After much searching of rails and other ruby code, I found where the error was occurring. The problem crops up in the ActionController (ActionPack-1.11.2) in the cgi_methods.rb file. When CGIMethods.parse_request_parameters() calls build_deep_hash, things can apparently go terribly wrong. The problem is that the cgi object''s parameters get parsed from stdin according to the rules of the URL query string. This includes breaking on "&" and looking for key/value pairs. thus the problem wit...
2007 Dec 03
3
Request param type of array
...e request.cgi.params.inspect %> {"myfield"=>["value1", "value2"], "_submit"=>["OK"]} ================ In Rails source code I have found such code: ---> actionpack-1.13.5/lib/action_controller/cgi_ext/cgi_methods.rb (line 23): def parse_request_parameters(params) parser = FormEncodedPairParser.new params = params.dup until params.empty? for key, value in params if key.blank? params.delete key elsif !key.include?(''['') # much faster to test for the most common...
2007 Mar 23
0
Error - Conflicting types for parameter containers
...158:in `post_key_check'' /Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/ actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:134:in `parse'' /Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/ actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:37:in `parse_request_parameters'' /Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/ actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:28:in `each'' /Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/ actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:28:in `parse_request_paramet...
2006 Jul 27
2
more on file upload
...ng).empty? ? {} : CGIMethods.parse_query_parameters(qs) end def request_parameters if ActionController::Base.param_parsers.has_key?(content_type) CGIMethods.parse_formatted_request_parameters(content_type, @env[''RAW_POST_DATA'']) else CGIMethods.parse_request_parameters(@cgi.params) end end regards, On 7/26/06, Jonas Pfenniger <zimba.tm at gmail.com> wrote: > > File upload is implemented in Camping. I guess you can have some > problems if you''re not running Camping+Mongrel since it wasn''t tested > very well. >...
2006 Mar 06
2
form_tag error -- not found, 404 -- action DOES exist!
...ods.rb:116:in `build_deep_hash''", "c:/ruby/lib/ruby/gems/1.8/gems/action pack-1.9.1/lib/action_controller/cgi_ext/cgi_methods.rb:116:in `build_deep_hash'' ", "c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/cgi_ex t/cgi_methods.rb:41:in `parse_request_parameters''", "c:/ruby/lib/ruby/gems/1.8/g ems/actionpack-1.9.1/lib/action_controller/cgi_ext/cgi_methods.rb:39:in `each''", "c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/cgi_ext/ cgi_methods.rb:39:in `parse_request_parameters''"...
2006 Nov 19
3
Binary PUT requests are failing
Does anyone know why binary PUTs are causing a 500 error in Rails? Non binary PUTs are working fine. I''m trying to make a WebDAV server. I''ve tried using both mongrel and webrick. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2007 Oct 24
13
Ryan Bates' Multi-object Forms and the date_select
I think I''ve found a bug with Edge. I''m trying out Ryan Bates'' multi-object form technique shown in one of his Rails-casts (railscasts.com/episodes/75). If you use a fields_for similar to that shown (here: http://pastie.caboo.se/110480), you get a Server Error 500: ------ Status: 500 Internal Server Error Conflicting types for parameter containers. Expected an