Thomas Lee wrote:
> Something else I meant to ask when posting this:
> 
> Does anybody know why on earth 
> ActionController::AbstractRequest::parse_request_parameters expects the 
> value of each element of the "params" parameter to be an Array?

That's what the cgi.parameters api returns:

  Parameters
     The method #params() returns a hash of all parameters in the
     request as name/value-list pairs, where the value-list is an Array
     of one or more values. The CGI object itself also behaves as a hash
     of parameter names to values, but only returns a single value (as a
     String) for each parameter name.


-- 
Cheers,

Koz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to