delta_attributes 0.0.1
This gem makes updating specified number fields by ActiveRecord in unusual way. Instead to generate 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 + d WHERE id = 1; where d is difference between old value and new value of that field. This solves problem with simultaneous updating of same field.
Gemfile:
=
Copy to clipboard
Copied!
install:
=
Runtime Dependencies (1):
rails
~> 3.2.8