How to attach active storage files?
harsh63 opened this issue · 3 comments
harsh63 commented
I have this Step
store_model which may or may not contains any images.
Just wondering if it's possible to add attachment(s) in a store_model.
DmitryTsepelev commented
Hi @harsh63! I guess it's not gonna work out of the box, cause AS has it's own mechanism to add attachments to records based on table name and id. In our case JSON has no it's own ID, but I guess we could do something to support this.
harsh63 commented
@DmitryTsepelev do you think we can have any workaround to solve this problem, maybe any alternative way?
DmitryTsepelev commented
I have a feeling that it's possible, but no solution on the top of my head 🙂 Do you want to experiment with that?