From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.96.67 with SMTP id g3csp38809qcn; Wed, 13 Jun 2012 08:23:52 -0700 (PDT) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCMHg7ozGFxCI4eL-BBoEx93XWg@googlegroups.com designates 10.50.202.38 as permitted sender) client-ip=10.50.202.38; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCMHg7ozGFxCI4eL-BBoEx93XWg@googlegroups.com designates 10.50.202.38 as permitted sender) smtp.mail=rack-devel+bncCMHg7ozGFxCI4eL-BBoEx93XWg@googlegroups.com; dkim=pass header.i=rack-devel+bncCMHg7ozGFxCI4eL-BBoEx93XWg@googlegroups.com Received: from mr.google.com ([10.50.202.38]) by 10.50.202.38 with SMTP id kf6mr8047856igc.0.1339601032283 (num_hops = 1); Wed, 13 Jun 2012 08:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:mime-version:date:user-agent:x-http-useragent :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=bh9NGwQY3bwC7iKpd6lGeKibS7bmOlz7IZusyaA3ddY=; b=KPfrH4AQI5gOH45Nkr320eYyXnXYaOPB6jxceVkf/TWICvo6SoOrcWmEqWroBh6aIY ELeSJR7Fa5vfW985TceX2jDR+g3iF0e37xI7nUuOUT+vGkFesyuq7WVAaMYRBktfeCP8 m9eyDxnFfMOuXvbVr7HnC4/pw9JbwkBPnx8TI= Received: by 10.50.202.38 with SMTP id kf6mr1362802igc.0.1339601032210; Wed, 13 Jun 2012 08:23:52 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.50.208.71 with SMTP id mc7ls4664384igc.3.canary; Wed, 13 Jun 2012 08:23:51 -0700 (PDT) Received: by 10.50.158.230 with SMTP id wx6mr3195033igb.0.1339601031229; Wed, 13 Jun 2012 08:23:51 -0700 (PDT) Received: by 10.50.100.229 with SMTP id fb5msigb; Wed, 13 Jun 2012 00:55:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.202.36 with SMTP id kf4mr1004442pbc.10.1339574130115; Wed, 13 Jun 2012 00:55:30 -0700 (PDT) Received: by z4g2000pbz.googlegroups.com with HTTP; Wed, 13 Jun 2012 00:55:30 -0700 (PDT) Date: Wed, 13 Jun 2012 00:55:30 -0700 (PDT) User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.80 (Windows NT 6.1; U; ja) Presto/2.10.229 Version/11.64,gzip(gfe) Message-ID: <7bc991c7-3719-44ca-91d0-e9caeaf8d547@z4g2000pbz.googlegroups.com> Subject: Checkbox selection trouble in request.params From: Randy M To: Rack Development X-Original-Sender: randy_michaels@aol.com X-Original-Authentication-Results: ls.google.com; spf=pass (google.com: domain of randy_michaels@aol.com designates internal as permitted sender) smtp.mail=randy_michaels@aol.com; dkim=pass header.i=@aol.com Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: X-Google-Group-Id: 486215384060 List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Hello everyone. I'm using rack (1.4.1), but it seems cannot receive checkbox selection value.. http://localhost/hello.cgi?foo=1&foo=3 Hello, Rack {"foo"=>"3"} Code below. #!ruby require "rack" class HelloRack def call(env) req = Rack::Request.new(env) return [200, {"Content-Type" => "text/plain"}, "Hello, Rack\n" + req.params.inspect ] end end Rack::Handler::CGI.run HelloRack.new Could anyone tell me idea? ---------- Randy Michaels randy_michaels@aol.com