Use double quotes in lib/
This commit is contained in:
@@ -41,9 +41,9 @@ class UserSegments
|
||||
def self.not_supported_on_current_budget
|
||||
author_ids(
|
||||
User.where(
|
||||
'id NOT IN (SELECT DISTINCT(voter_id) FROM votes'\
|
||||
' WHERE votable_type = ? AND votes.votable_id IN (?))',
|
||||
'Budget::Investment',
|
||||
"id NOT IN (SELECT DISTINCT(voter_id) FROM votes"\
|
||||
" WHERE votable_type = ? AND votes.votable_id IN (?))",
|
||||
"Budget::Investment",
|
||||
current_budget_investments.pluck(:id)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user