paperclip plugin not support for I18n

Posted by user354413 on Stack Overflow See other posts from Stack Overflow or by user354413
Published on 2010-06-08T07:59:52Z Indexed on 2010/06/08 8:02 UTC
Read the original article Hit count: 164

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?

© Stack Overflow or respective owner

Related posts about ruby-on-rails-plugins

Related posts about paperclip