Skip to content

Validation messages include trailing period (Rails validations do not). Shouldn't they be consistent? #133

Closed
phallstrom opened this Issue Jan 6, 2010 · 0 comments

2 participants

@phallstrom

AR errors in rails by default don't have a trailing period. I noticed that validates_attachment_presence and validates_attachment_size append a period to their output. This results in my code appending two periods since I'm joining all the errors together with a period. It seems like Paperclip's errors should not include a period by default, but maybe there's a good reason for it. Here's a diff showing the changes http://gist.github.com/270803

@sikachu sikachu added a commit that closed this issue Jun 30, 2011
@sikachu sikachu Remove dots from validation errors
Closes #133, Closes 288
ce9ee13
@sikachu sikachu closed this in ce9ee13 Jun 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.