I wonder if there is a way of avoiding looping through all items of a list to access the same attribute.
people = [John, Bob, Dave, Eric]
with each have a number attribute (i.e. John.num)
so instead of people.map{|person| person.num =10}
I might do people.[...some magic..].num = 10
It just seems a waste to loop through all.. maybe with SQL or similar
If people is an ActiveRecord model, you can use update_all method