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

Already on GitHub? Sign in to your account

Why does the AttachmentOptions class define/provide :validations and not use it? #786

phene opened this Issue Mar 20, 2012 · 2 comments


None yet
2 participants

phene commented Mar 20, 2012

I was looking for options to pass directly to has_attached_file to enable/disable various validations for the attachment, and found the reference in AttachmentOptions. Unfortunately, nothing seems to use it (except the AttachmentOptions test). Why have it there at all?


sikachu commented Mar 30, 2012

Yeah, seems like we've moved away from using :validations quite a while now, and just forgot to remove it. Going to remove it now.

@sikachu sikachu closed this in e1951ed Mar 30, 2012


phene commented Mar 30, 2012

That's too bad, because I thought the feature had potential. I guess I'll continue to use my wrapper around paperclip for such niceties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment