title: Rails: form_for and radio buttons
body: <p>I have the following in my <code>form_for</code></p>
  
  <pre><code>&lt;div class="multiple_students"&gt;
          &lt;%= f.label :multiple_classes, "Do you teach multiple classes?" %&gt;
          &lt;%= f.radio_button :multiple_classes, 1, checked: @user.multiple_classes?, class: 'multiple_classes', data: { question: 'What is your average class size?' } %&gt; &lt;%= f.label :multiple_classes, "Yes", class: 'multiple_classes' %&gt;
          &lt;%= f.radio_button :multiple_classes, 0, checked: @user.multiple_classes?, class: 'multiple_classes', data: { question: 'How many kids do you teach?' } %&gt; &lt;%= f.label :multiple_classes, "No", class: 'multiple_classes' %&gt;
      &lt;/div&gt;
      &lt;div class="number_of_students hide"&gt;
          &lt;%= f.label :students %&gt;
          &lt;%= f.text_field :students, :class=&gt;"student_count required digits" %&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>For some reason the "No" is ALWAYS checked even if the <code>multiple_classes</code> attribute on the user is selected a true in the database (<code>multiple_classes</code> is a boolean type in the database)</p>