I've noticed that tempfiles created when uploading a file (Rack::Multipart) are not closed and unlink by default. Fortunately, Rack provides a middleware for it and we just need to add it
Rails includes it by design so its not an issue when using Grape through it.
I've noticed that tempfiles created when uploading a file (Rack::Multipart) are not closed and unlink by default. Fortunately, Rack provides a middleware for it and we just need to add it
Rails includes it by design so its not an issue when using Grape through it.