ruby on rails - How can I send a file as a parameter from controller to model? -


from controller, there way call method in model file parameter, without getting uninitialized stream error when try use received file in model?

i trying use delayed_job upload files s3 (using paperclip). use heroku, request time out after 30 secs, , want allow multiple file uploads @ once.

the same problem talked in delayed_job google group, there never solution.

you'll have save file locally first, or directly s3 without going through delayed job. option have user upload directly s3 rather going through stack - approach has other issues around authentication , ability screen data first, handle data screening in delayed job instead.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -