title: Associating label and radio button in Rails
body: <p>I'm using Rails 2.3.8. My code:</p>
  
  <pre><code>&lt;%= f.radio_button :status, "draft" %&gt;
  &lt;%= f.label :status, "Draft" %&gt;
  &lt;%= f.radio_button :status, "published" %&gt;
  &lt;%= f.label :status, "Published" %&gt;
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>&lt;input id="shop_status_draft" name="shop[status]" type="radio" value="draft" /&gt;
  &lt;label for="shop_status"&gt;Draft&lt;/label&gt;
  &lt;input checked="checked" id="shop_status_published" name="shop[status]" type="radio" value="published" /&gt;
  &lt;label for="shop_status"&gt;Published&lt;/label&gt;
  </code></pre>
  
  <p>Obviously the <code>label</code> isn't associating with my radio buttons correctly. I want to make the <code>label</code> same as radio button <code>id</code>. How can I correct that?</p>
  
  <p>Thanks.</p>