79507214

Date: 2025-03-13 17:41:56
Score: 0.5
Natty:
Report link

The following will do it in a single DB query.

User.where(id: some_id).update_all(attributes)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Sandip Mane