Does anybody know where I can get in and play around with the error
messages that come up after validation? I don’t want people seeing my
field names in sentences like: “Commenter can’t be blank. Commenter id
can’t be blank” and so on.
Thanks!
Does anybody know where I can get in and play around with the error
messages that come up after validation? I don’t want people seeing my
field names in sentences like: “Commenter can’t be blank. Commenter id
can’t be blank” and so on.
Thanks!
Hi Sean,
There’s a small plugin that allows you to customize these messages:
http://railtie.net/articles/2006/01/26/enhancing_rails_errors
Take care,
Sean
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs