使用simple_form 2.0.4,我进行以下操作:
它生成:
= simple_form_for(@thing) do |f|
它生成:
<form accept-charset="UTF-8" action="/things/37" class="simple_form" id="edit_thing_37" method="post" novalidate="novalidate">
但我需要:
<form accept-charset="UTF-8" action="/things/37?foo=bar" class="simple_form" id="edit_thing_37" method="post" novalidate="novalidate">
如何实现这个功能?
谢谢!