Files
grecia/spec/models
Javi Martín a54d424aed Add missing validation rule to poll answers
We were checking we didn't have more votes than allowed in the case of
questions with multiple answers, but we weren't checking it in the case
of questions with a single answer. This made it possible to create more
than one answer to the same question. This could happen because the
method `find_or_initialize_user_answer` might initialize two answers in
different threads, due to a race condition.
2024-06-26 15:41:44 +02:00
..
2024-04-15 15:39:23 +02:00
2021-08-13 04:39:44 +02:00
2024-06-19 18:42:14 +02:00
2022-10-18 10:38:59 +02:00