Displaying 8 results from an estimated 8 matches for "parse_formatted_request_paramet".
2008 Feb 15
3
Ajax problem with rails 2.0.2 - frozen string?
...ack-2.0.2/lib/
action_controller/request.rb:462:in `gsub!''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/request.rb:462:in `clean_up_ajax_request_body!''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/request.rb:380:in
`parse_formatted_request_parameters''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/cgi_process.rb:78:in `request_parameters''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/request.rb:287:in `parameters''
/usr/local/lib/ruby/gems/1.8/gems/a...
2008 Jun 21
5
RJS can't modify frozen string
...ack-2.0.2/lib/
action_controller/request.rb:462:in `gsub!''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/request.rb:462:in `clean_up_ajax_request_body!''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/request.rb:380:in
`parse_formatted_request_parameters''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/cgi_process.rb:78:in `request_parameters''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/request.rb:287:in `parameters''
/usr/local/lib/ruby/gems/1.8/gems/a...
2006 Jul 27
2
more on file upload
...ire actionpack-1.12.3/lib/action_controller/cgi_ext/cgi_methods.rb
def query_parameters
(qs = self.query_string).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
>...
2009 May 09
0
XMLRPC raw_post getting run through Hash#from_xml
Im trying to create an api, and Im having trouble getting
ActionController to not run the raw post data through Hash#from_xml
(request.parse_formatted_request_parameters) for the XMLRPC post data.
I essentially want it to run through
XMLRPC::XMLParser::REXMLStreamParser.new.parseMethodCall(request.raw_post).
However, I can''t figure out a clever, clean way to get
request.request_parameters to not run since it can run as early as the
dispatcher, which w...
2008 Feb 07
2
FAILSAFE error with uploads
...eb/vendor/rails/actionpack/lib/action_controller/
request.rb:510:in `read_multipart''
/my/app/web/vendor/rails/actionpack/lib/action_controller/
request.rb:445:in `parse_multipart_form_parameters''
/my/app/web/vendor/rails/actionpack/lib/action_controller/
request.rb:383:in `parse_formatted_request_parameters''
/my/app/web/vendor/rails/actionpack/lib/action_controller/
cgi_process.rb:78:in `request_parameters''
/my/app/web/vendor/rails/actionpack/lib/action_controller/
request.rb:287:in `parameters''
/my/app/web/vendor/rails/actionpack/lib/action_controller/
reques...
2007 May 22
5
rails edge
hi,
first time trying rspec, and rails edge. Are there any known issues
running rspec with rails edge?
for one, apparently script/generate scaffold_resource has been
renamed just "resource". Do I just search/replace "scaffold_resource"
with "resource" in file rspec_resource_generator.rb ? Somethings
still missing.
before i get "Couldn''t find
2008 Apr 05
1
Problems getting file upload to work on rails 2.0.2
...npack-2.0.2/lib/action_controller/request.rb:517:in
`read_multipart''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:445:in
`parse_multipart_form_parameters''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:383:in
`parse_formatted_request_parameters''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/cgi_process.rb:78:in
`request_parameters''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:287:in
`parameters''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/...
2008 Jun 12
7
Problem uploading files (possibly an OS X issue?)
...2.1.0/lib/action_controller/
request.r
b:547:in `read_multipart''
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
request.r
b:470:in `parse_multipart_form_parameters''
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
request.r
b:400:in `parse_formatted_request_parameters''
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
cgi_proce
ss.rb:80:in `request_parameters''
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
request.r
b:304:in `parameters''
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/...