Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为了帮助自己学习 Ruby,我将我制作的一个简单的 Python 网站转换为 Ruby。不过,我不知道如何在 Ruby 中获取表单值。我怎么做?
require "cgi" cgi = CGI.new params = cgi.params # a hash with field-names and their values