Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HasManyPaperclip #9

Open
Mikopet opened this issue Nov 16, 2017 · 0 comments
Open

HasManyPaperclip #9

Mikopet opened this issue Nov 16, 2017 · 0 comments

Comments

@Mikopet
Copy link

Mikopet commented Nov 16, 2017

Hey

I know it's edge case (or maybe not), but I have the following structure:

I have an Attachment model, where is :data is the paperclip attachment.
But this model belongs to polimorphically to a concern, called Attachmentable

Attachmentable defines has_many to attachments.
And I have several models, which includes Attachmentable.

So, I need somehow to integrate paperclip to administrate.
Cant use has many, or polymorphic, or paperclip field types.
I need all of them for one field.

There is maybe a solution to use with your gem?
Or can be this a valid feature request?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant