# Validation messages

**URL:** <https://www.ruby-forum.com/t/validation-messages/49069>\
**Category:** Rails\
**Created:** [November 29, 2005, 1:55pm UTC](https://www.ruby-forum.com/t/validation-messages/49069 "2005-11-29T13:55:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![onurturgay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/ecc23a/32.png) [@onurturgay](https://www.ruby-forum.com/u/onurturgay)\
**Post date:** [November 29, 2005, 1:55pm UTC](https://www.ruby-forum.com/t/validation-messages/49069/1 "2005-11-29T13:55:53Z")

</div>

Hi,  
How can I prevent model attributes names from appearing on error  
messages,  
even if they are appended to an attribute (not base). OR can I change  
the  
place the attribute name appears in my messages? I dont want to reveal  
my  
table field name in (as they are in english but my application is in  
turkish) the web pages.

Thanks in advance,  
Onur

---

<div class="post-metadata">

**Author:** ![onurturgay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/ecc23a/32.png) [@onurturgay](https://www.ruby-forum.com/u/onurturgay)\
**Post date:** [November 29, 2005, 3:00pm UTC](https://www.ruby-forum.com/t/validation-messages/49069/2 "2005-11-29T15:00:30Z")

</div>

Hi !

2005/11/29, Onur T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> How can I prevent model attributes names from appearing on error messages,  
> even if they are appended to an attribute (not base). OR can I change the  
> place the attribute name appears in my messages? I dont want to reveal my  
> table field name in (as they are in english but my application is in  
> turkish) the web pages.

Search backwards a few days - there was an announcement for replacing  
validation error messages as shipped in Rails.

In fact, I just went ahead and search:  
[http://thread.gmane.org/gmane.comp.lang.ruby.rails/31600](http://thread.gmane.org/gmane.comp.lang.ruby.rails/31600)

The plugin is called Custom Validation Messages plugin.

Hope that helps !
