Use double quotes in lib/

This commit is contained in:
Julian Herrero
2019-03-15 09:28:48 +01:00
parent c9cdc72537
commit 002e16ce30
15 changed files with 69 additions and 69 deletions

View File

@@ -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)
)
)