Ruby on Rails Tuesday, July 17, 2018

Currently, when the root is configured, all uploaded files go to that directory.

I'd like to be able to modify the root when a form is submitted to create an object with attachments.

This is helpful in our multi-tenant environment where we want to limit storage usage.

Anyone know of a way to do this?  Can (should) the config be modified when the request is made?

Thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c0d67492-7102-4a0c-be1d-628e7389d167%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment