このコミットが含まれているのは:
@@ -90,6 +90,11 @@ class PostImportRunner
|
||||
raise ArgumentError, '取込行の形式が不正です.'
|
||||
end
|
||||
|
||||
row.to_h.deep_transform_keys { _1.to_s.underscore }
|
||||
normalised = row.to_h.deep_transform_keys { _1.to_s.underscore }
|
||||
source_row = Integer(normalised['source_row'], exception: false)
|
||||
raise ArgumentError, '元行番号が不正です.' if source_row.nil? || source_row <= 0
|
||||
|
||||
normalised['source_row'] = source_row
|
||||
normalised
|
||||
end
|
||||
end
|
||||
|
||||
新しい課題から参照
ユーザをブロックする