Trying to use form_tag helper on rails to send to SSL address. Currently my code is as follows:
form_tag(form_action_path) do
<form action="form_action_path" method="post">
If I try this:
form_tag(form_action_path, :protocol => 'https', :only_path => false)
<form action="form_action_path" method="post" protocol="https" only_path="false>
This, of course, is not a valid or worthwhile result. How can I make the form helper handler an https tag?
Thank.
source
share