Forum: Ruby on Rails StringIO - getting filename for multipart form uploads?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Wes G. (Guest)
on 2006-04-13 00:08
All,

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?

Thanks,
Wes
This topic is locked and can not be replied to.