[Nitro] param handling

George Moschovitis george.moschovitis at gmail.com
Wed Oct 25 08:28:48 EDT 2006


> Suggestion:  When method == POST, use request.post_params as .params
> but merge them with .get_params (not overriding the .post_params).
>
> def params
>    post? ? get_params.update(post_params) : get_params
> end


I like this. How about providing a patch? ;-)

-g.


-- 
http://www.gmosx.com
http://www.nitroproject.org


More information about the Nitro-general mailing list