title: Rails 3 update_attributes for array
body: <p>In Rails 3.2 console I am trying to update several records to the same value.</p>
  
  <p>For example:</p>
  
  <pre><code>h=Person.find_all_by_company_country("Alabama")
  </code></pre>
  
  <p>Now I want to change the company_country to "Texas"</p>
  
  <p>For example:</p>
  
  <pre><code>h.update_attributes(company_country: "Texas")
  NoMethodError: undefined method `update_attributes' for #&lt;Array:0x00000003b01d70&gt;
  </code></pre>
  
  <p>What are the options to do this?</p>