Commit Graph

2 Commits (2644a28cb30dfb57b9543dd045657e8ed660876a)

Author SHA1 Message Date
ThibG dfb45374d2 Fix AddLockVersionToPolls migration ()
ThibG 96f905f409 Add optimistic lock to avoid race conditions when handling votes ()
* Add optimistic lock to avoid race conditions when handling votes

* Force-reload polls when getting `ActiveRecord::StaleObjectError`