We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30b0c8b commit 9c13409Copy full SHA for 9c13409
app/jobs/spotlight/process_bulk_updates_csv_job.rb
@@ -72,7 +72,7 @@ def process_row(exhibit, row)
72
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity
73
74
def to_bool(value)
75
- ActiveModel::Type::Boolean.new.cast(value.strip)
+ ActiveModel::Type::Boolean.new.cast(value.to_s.strip)
76
end
77
78
def config
0 commit comments