You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and @cv.errors.full_messages => ["Attachment files "].
When I'm in the console, however, I see c.errors.full_messages => ["Attachment can't be blank"].
I would like to override the error message and cannot seem to do so with locales or validates :attachment, presence: { message: 'Testing' }.
The text was updated successfully, but these errors were encountered:
I have the following in my model:
If I attempt a save via form submit with no attachment, I see "Attachment files" as my error message.
When I pry on the page, I see
and
@cv.errors.full_messages => ["Attachment files "]
.When I'm in the console, however, I see
c.errors.full_messages => ["Attachment can't be blank"]
.I would like to override the error message and cannot seem to do so with locales or
validates :attachment, presence: { message: 'Testing' }
.The text was updated successfully, but these errors were encountered: