title: Rails multiple radio buttons
body: <p>I have a table named <code>items</code> and three boolean columns <code>fixed_amount, no_price, per_hour</code>.</p>
  
  <p>How can I add <code>radio buttons</code> of the above three columns to a form in order to submit as true if one is selected and false to rest of the columns that are not selected? I want the radio button to be able to toggle from one to another and not to select all three of them.</p>
  
  <p>Currently I'm trying something like the following but without any luck:</p>
  
  <pre><code>&lt;%= form.radio_button :no_price, '1', checked: true %&gt;
  &lt;%= form.radio_button :fixed_amount, '1' %&gt;
  &lt;%= form.radio_button :per_hour, '1' %&gt;
  </code></pre>