vendredi 29 mars 2019

how to set up tenant name for foldering images uploaded with mongoid paperclip

i am trying to create folders for each tenant in my application when uplaoding pictures. I use mongoid paperclip, but i do not use any tenantcy gem. i have models with tenant_id, a banch of model indicates tenant id. Each user has a tenant. This is the general explanation of my application.

Aucun commentaire:

Enregistrer un commentaire