• 设法使用铁路的标签帮助器,以提交SSL地址。 目前,我的法典认为:
form_tag(form_action_path) do
# This spits out:
<form action="form_action_path" method="post">
如果我尝试这样做的话:
form_tag(form_action_path, :protocol => https , :only_path => false)
# It spits out:
<form action="form_action_path" method="post" protocol="https" only_path="false>
That is of course, not a valid or worthwhile result. How can I make the form tag helper render out an https action path?
感谢。