I would like to update the value of bar with the same attribute name in bulk by specifying the attribute with slice from the Foo object as shown in the code below, but I didn't know how to write
update_all but I would appreciate your advice.
How about using
© 2022 OneMinuteCode. All rights reserved.