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

AttachmentSizeValidator rejects with "uninitialized constant" #104

Open
jtheck opened this issue Dec 16, 2022 · 1 comment
Open

AttachmentSizeValidator rejects with "uninitialized constant" #104

jtheck opened this issue Dec 16, 2022 · 1 comment

Comments

@jtheck
Copy link

jtheck commented Dec 16, 2022

Using Rails 7 with "AttachmentSizeValidator" in any of its permutations results in:

NameError (uninitialized constant Paperclip::Validators::AttachmentSizeValidator::CHECKS)

I'm uncertain how to remedy this.

@asecondwill
Copy link

updated to 7.2 and it fixed 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