title: Using Radio Buttons in Rails
body: <p>I have a Category model with two booleans, article_cat? and profile_cat?. I want to be able to create a new Category with a form that lists these two using radio buttons. If one radio button is marked, the other one is unmarked. It should send a true value to the create method of the one that is checked and create a new category where either article_cat or profile_cat is true. The Rails API for radio buttons does not make sense to me. Here is what I have, and it is breaking badly:</p>
  
  <p>&lt;%= f.radio_button "category", "article_cat", true %>Article
  &lt;%= f.radio_button "category", "profile_cat", true %>Profile</p>
  
  <p>I honestly do not know what I am doing up there. I am just experimenting.</p>