Closed
Description
Lines 70 to 75 in 8db5de9
There is unused data retrieval, only comment_id, vote, reason of Vote is used, so the code can be modified to:
votes = self.where( :user_id => user_id, :comment_id => comment_ids, ).select(:comment_id, vote, reason)
Metadata
Metadata
Assignees
Labels
No labels
Activity