lib/loga/ext/core/tempfile.rb in loga-2.2.0 vs lib/loga/ext/core/tempfile.rb in loga-2.3.0

- old
+ new

@@ -1,7 +1,7 @@ # Fixes encoding error when converting uploaded file to JSON # https://github.com/rails/rails/issues/25250 class Tempfile - def as_json(_ = nil) + def as_json(_any = nil) to_s end end