delta_attributes
v1.0.3RubyGems· RubyThis gem makes updating specified number fields by ActiveRecord in unusual way. Instead of generating sql script to update value in usual way like this: UPDATE users SET money = 10 WHERE id = 1; It replaces it with UPDATE users SET money = money + delta WHERE id = 1; where delta is difference between old value and new value of that field. This solves problem with simultaneous updating of the same field by different threads (problem known as race condition). Source code: https://github.com/izbor/delta_attributes
The verdict
Abandoned. Last published 12 years ago. No recent activity — look for a maintained alternative.
No recent activity — look for a maintained alternative.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAbandoned
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 12 years ago.
Popularity
7 downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
- 1.0.312 years ago
- 1.0.212 years ago
- 0.0.413 years ago
- 0.0.313 years ago
- 0.0.213 years ago
- 0.0.113 years ago