Remove unused association between user and pair answers
The code for Poll::PairAnswer was removed in commit af7c37634.
This commit is contained in:
@@ -60,10 +60,6 @@ class User < ApplicationRecord
|
|||||||
class_name: "Poll::Answer",
|
class_name: "Poll::Answer",
|
||||||
foreign_key: :author_id,
|
foreign_key: :author_id,
|
||||||
inverse_of: :author
|
inverse_of: :author
|
||||||
has_many :poll_pair_answers,
|
|
||||||
class_name: "Poll::PairAnswer",
|
|
||||||
foreign_key: :author_id,
|
|
||||||
inverse_of: :author
|
|
||||||
has_many :poll_partial_results,
|
has_many :poll_partial_results,
|
||||||
class_name: "Poll::PartialResult",
|
class_name: "Poll::PartialResult",
|
||||||
foreign_key: :author_id,
|
foreign_key: :author_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user