StringIO - getting filename for multipart form uploads?


When using multipart forms, sometimes the files come into the controller
as StringIO objects.

I assume that by the time I get a StringIO object, I can’t get the name
of the file the way that I might be able to using
File.original_filename, correct?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs