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
Hi !
2005/11/29, Onur T. [email protected]:
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
The plugin is called Custom Validation Messages plugin.
Hope that helps !