Rails radio_button_tag how to send multiple parameters
<p>I'm trying to figure out, if it possible to send multiple parameters with radio button.</p>

<p>First parameter will be <code>time</code> and second <code>provider_id</code>. I'm using each method for providers, and trying to have option to select only one time and only from one provider. </p>

<p>My view <code>form_tag</code>:</p>

<pre><code>&lt;%= form_tag(provider_order_create_path)  %&gt;

  &lt;div class="btn-group" data-toggle="buttons"&gt;

   &lt;% @group.provider.each do |provider| %&gt;

&lt;label class="btn btn-default"&gt;
  &lt;%=  radio_button_tag :order, time_for_order_00_00.to_datetime, 'false',
  {:provider_id =&gt; provider.id} %&gt;&lt;%= time_tag(time_00_00, :format =&gt; '%I:%M %p') %&gt;
&lt;/label&gt;

  &lt;% end %&gt;
&lt;/div&gt;

&lt;%= submit_tag "Submit", type: 'submit', :name =&gt; nil %&gt;
</code></pre>

<p>At this time i'm seeing only :order params in the logs <code>:provider_id</code></p>

<pre><code>"order"=&gt;"2016-03-09T00:00:00+00:00"
</code></pre>

<p>I tried to use <code>hidden_field</code> but it not working as expected it is always sending id for last provider in the list</p>

<p>Thank you, any help appreciated </p>