Paperclip: validates_attachment_presence doesn't change field-label #1307

Jpunt opened this Issue Sep 7, 2012 · 2 comments


None yet

3 participants

Jpunt commented Sep 7, 2012

While validation of attachments works properly, the field-label still states "Optional" instead of "Required".
Is there a way to fix this?

@fernandomm fernandomm added a commit to fernandomm/rails_admin that referenced this issue Sep 28, 2012
@fernandomm fernandomm Fixes issue #1307 by adding attachment_presence to the validators in
required? function.

My first commit to Rails Admin. Change is pretty simple but tests took sometime :)

Let me know if it's ok or if something needs to be changed.


Fixed by #1339.

@mshibuya mshibuya closed this Jun 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment