title: Using checkboxes in rails
body: <p>I've never used checkboxes in rails before and can't figure out what I'm doing wrong.  When I try to load my page, I get an error that says <code>NoMethodError in Dplans#show, undefined method "merge" for "Art":String</code></p>
  
  <p>Here is the code for my checkbox form on the <code>Dplans</code> <code>show</code> page: </p>
  
  <pre><code>&lt;%= form_for @dplan, :url=&gt;{ :action=&gt;"update_distribs" } do |f| %&gt;
  &lt;%= f.check_box :Art, 'Art' %&gt; &lt;b&gt;Art&lt;/b&gt; &lt;br/&gt;
  &lt;%= f.check_box :Lit, 'Lit' %&gt; &lt;b&gt;Lit&lt;/b&gt; &lt;br/&gt; &lt;br/&gt;
  
  &lt;div class="actions"&gt;
    &lt;%= f.submit "Save" %&gt;
  &lt;/div&gt;
    &lt;% end %&gt;
  </code></pre>
  
  <p>Art and Lit are both strings and are <code>attr_accessible</code> in <code>dplan</code>.  Thanks for your help!</p>