trwnh
89e1974f30
Make account endorsements idempotent (fix #19045) (#20118)
* Make account endorsements idempotent (fix #19045)
* Accept suggestion to use exists? instead of find_by + nil check
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
* fix logic (unless, not if)
* switch to using `find_or_create_by!`
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2022-11-08 16:39:15 +01:00
..
2022-03-07 09:36:47 +01:00
2020-12-23 16:43:38 +01:00
2022-08-28 03:45:07 +02:00
2022-08-28 03:45:07 +02:00
2021-11-26 05:58:18 +01:00
2020-09-11 15:16:29 +02:00
2022-05-02 01:00:08 +02:00
2020-06-30 19:19:50 +02:00
2022-11-08 16:39:15 +01:00
2020-09-11 15:16:29 +02:00
2020-03-06 01:29:38 +01:00
2022-03-08 09:14:39 +01:00