Commit graph

3 commits

Author SHA1 Message Date
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length () 2023-02-18 06:56:20 +09:00
ThibG
dfb45374d2 Fix AddLockVersionToPolls migration () 2019-03-07 01:50:06 +01:00
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`
2019-03-06 19:53:57 +01:00