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