paperclip plugin not support for I18n
- by user354413
I've added I18n support for error messages:
Now you can define translations for the errors messages in e.g. your YAML locale file:
en:
paperclip:
errors:
attachment:
size: "Invalid file size"
content_type: "Unsupported content type"
presence: "Cant' be blank"
when I use
validates_attachemnt_zie :avatar
how to get error message?