Remove unused association between user and pair answers

The code for Poll::PairAnswer was removed in commit af7c37634.
This commit is contained in:
Javi Martín
2024-06-13 19:10:06 +02:00
parent 5fa6db2226
commit ca8329d5f2

View File

@@ -60,10 +60,6 @@ class User < ApplicationRecord
class_name: "Poll::Answer",
foreign_key: :author_id,
inverse_of: :author
has_many :poll_pair_answers,
class_name: "Poll::PairAnswer",
foreign_key: :author_id,
inverse_of: :author
has_many :poll_partial_results,
class_name: "Poll::PartialResult",
foreign_key: :author_id,