You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you know the best method to integrate this eav_hashes with paperclip?
example, i would like to add dynamic attachment for a products:
attachment for certification
attachment for insurrance
attachment for id card
attachment for what ever user created
it would be nice if you have method for it. Thanks for your help.
cheers :)
The text was updated successfully, but these errors were encountered:
While I have very little experience with Paperclip, I would imagine that you could make a separate "Attachment" model containing an attachment. However, since you would've already pulled out the attachment into its own model, you can have it have a name attribute and make it belongs_to your original model, which would forgo the need to use eav_hashes in the first place!
Hi Ostrovskiy,
Do you know the best method to integrate this eav_hashes with paperclip?
example, i would like to add dynamic attachment for a products:
attachment for certification
attachment for insurrance
attachment for id card
attachment for what ever user created
it would be nice if you have method for it. Thanks for your help.
cheers :)
The text was updated successfully, but these errors were encountered: