Links
Custom Error Message
Categories
Custom Error Message
Active Record validation enhancement. Gives you the option to not have your custom validation error message prefixed with the attribute name.
Vitals
| Home | http://rubyforge.org/projects/custom-err-msg/ |
|---|---|
| Repository | svn://rubyforge.org/var/svn/custom-err-msg |
| License | |
| Tags |
|
| Rating | (13 votes) |
| Created | 25 May 2006 |
Comments
-
I have copied the extracted custom-err-message plugin from github after downloading the zip. Have restarted my application after copying it to vendor/plugins directory and have placed validation check in model as -
validatespresenceof :project_name, :message=>"^Project Name cannot be blank"
But it did not work out.
Anyone has a clue why? It instead displays -
project_name ^Project Name cannot be blank
as the validation error in the error div.

