Ask A Question

Notifications

You’re not receiving notifications from this thread.

Acts as Tenant with Active Storage

Andres Carvajal asked in Gems / Libraries

Hello! I have been developing a multitenancy app using acts_ac_tenant. Until now it works really well but now I want to add some support for storing some files. I got a little bit confused about how to implement this in a proper way. I would like to have a good control of the files that have been uploaded by each tenant. In the development environment I have been trying with local storage and for production I would like to try Amazon S3 (bucket-based solution). However, I'm not pretty sure if acts_as_tenant cares of the switching between tenant behind the scene as it does with other models related to acts_as_tenant. I would appreciate if someone could share some advises in this topic.

Thank you in advance!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,277+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.