79297312

Date: 2024-12-20 13:06:26
Score: 0.5
Natty:
Report link

With newer Rails do this:

Table.where(id: [4, 5, 6]).update_all("field = 'update to this'")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: sekrett