We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a23ea9a commit ad387b0Copy full SHA for ad387b0
app/routines/exercises/tag/assessments.rb
@@ -35,10 +35,10 @@ def exec(filename:, book_uuid:)
35
36
page_uuid = row[uuid_index]
37
pre_section_exercise_numbers = row.values_at(*pre_indices).filter_map do |val|
38
- Integer(val) unless val.blank?
+ val.to_i unless val.blank?
39
end
40
post_section_exercise_numbers = row.values_at(*post_indices).filter_map do |val|
41
42
43
44
exercise_numbers = pre_section_exercise_numbers + post_section_exercise_numbers
0 commit comments