Skip to content

Commit

Permalink
Fix missing .
Browse files Browse the repository at this point in the history
  • Loading branch information
CoralineAda committed Oct 29, 2024
1 parent dd000e2 commit c7d74c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/services/import_from_csv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def pronouns

# If a SurveyResponse doesn't contain a response for the required fields, it will be considered invalid.
def record_valid?
Question.identity_questions.map(&:key)select{ |key| record[key.to_s].present? }.count >= 1
Question.identity_questions.map(&:key).select{ |key| record[key.to_s].present? }.count >= 1
end

end
Expand Down

0 comments on commit c7d74c0

Please sign in to comment.