There is one monolithic application, inside there are two applications - app1 and app2 .
They have common models.
The file is created in app1 , and is accordingly saved in app1:rails_root/public/...
and when calling ticket.document.url second application does not see it, since it refers to app2:rails_root/public/...
Probably there are two ways:
1) How to save directly to the second application?
1) How to tell the url where to look from the second application?
app1:rails_root/public/...onapp1:rails_root/public/...) - evans