title: Adding a class in check_box_tag
body: <p>I search through the net and cannot find a way. So far, I have tried:</p>
  
  <pre><code>&lt;%= check_box_tag "course[location_ids][]", location.id, class: 'checkbox-inline'%&gt;
  </code></pre>
  
  <p>This will output: </p>
  
  <pre><code>input type: "checkbox" name="course[location_ids][] id="course_location_ids_" value="1" checked="checked"
  </code></pre>
  
  <p>For some reason, it makes a checked input.</p>
  
  <pre><code>&lt;%= check_box_tag "course[location_ids][]", location.id, :class =&gt; 'checkbox-inline'%&gt;
  </code></pre>
  
  <p>does the same as the first one</p>
  
  <p>How do I add a class inside of a check_box_tag</p>