File path of uploaded file

Where is the file after a file has been uploaded? Is it stored in /tmp
or in rails_app/tmp or? I need to get the file path after it has been
submitted.

Where is the file after a file has been uploaded? Is it stored in /tmp
or in rails_app/tmp or? I need to get the file path after it has been
submitted.

I wouldn't count on it being anywhere in particular (especially as
those sorts of location frequently get wiped).
Small uploads might not be persisted as a file at all. All you should
care about is that the params your controller gets include something
you can call read on. From there store the file wherever you want to.

Fred