如何在ruby中向表单添加表单名称?

时间:2010-01-06 20:21:05

标签: ruby-on-rails ruby

如何将表单名称添加到以下行?

<% form_tag({}, :method => :get) do %>

1 个答案:

答案 0 :(得分:2)

<% form_tag({}, :method => :get, :name => "whatever") do %>