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

Save attachments to custom table #487

Open
olegsobchuk opened this issue Aug 22, 2018 · 1 comment
Open

Save attachments to custom table #487

olegsobchuk opened this issue Aug 22, 2018 · 1 comment

Comments

@olegsobchuk
Copy link

I have separate table for attachment files with polymorphic association. Is it possible save attachment from messages to custom table like in my case?

@olegsobchuk
Copy link
Author

Or maybe it is possible to save the original filename? according to CarrierWave documentation
https://github.com/carrierwaveuploader/carrierwave/wiki/how-to:-create-random-and-unique-filenames-for-all-versioned-files#saving-the-original-filename

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