Commit Graph

2 Commits (5d7c0b32542f9a2c2b64e00cfdd797f2ab381423)

Author SHA1 Message Date
Thibaut Girka 8124b60a99 Fix AddLockVersionToPolls migration 2019-03-06 23:56:43 +01:00
ThibG 4f2eb43d8a Add optimistic lock to avoid race conditions when handling votes (#10196)
* Add optimistic lock to avoid race conditions when handling votes

* Force-reload polls when getting `ActiveRecord::StaleObjectError`
2019-03-06 19:53:57 +01:00