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 _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Hi ! 2005/11/29, Onur Turgay <onurturgay@gmail.com>:> 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 ! -- François Beausoleil http://blog.teksol.info/ _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails