don't fail if info is nil

pull/1/head
Jared Cosulich 7 years ago
parent 9eb36b0510
commit 7fb5bfd242

@ -1,3 +1,4 @@
- return if info.nil?
- likert = info.answer_index_average
- zscore = info.zscore.present? ? info.zscore + 3 : nil
- likert = zscore if zscore.present?

Loading…
Cancel
Save