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

Validate array of files #21

Open
alexey-klimuk opened this issue Aug 16, 2017 · 1 comment
Open

Validate array of files #21

alexey-klimuk opened this issue Aug 16, 2017 · 1 comment

Comments

@alexey-klimuk
Copy link

Hello,
I'm currently using postgres array column + carrierwave for uploading files. Is it possible to add file validation for array column?
Thanks

@musaffa
Copy link
Owner

musaffa commented Aug 16, 2017

If the array attr supports active model validations on individual elements of that array, I think it will be possible add file validation on it.

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

2 participants