Often I just show the first element in the error_messages array unless that array is nil
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Retrieving validation messages without making errors | 0 | 102 | August 13, 2007 | |
:message | 0 | 66 | October 12, 2007 | |
how to get the message from validates_presence_of | 0 | 144 | September 27, 2006 | |
Validation | 1 | 142 | August 30, 2006 | |
Showing error messages. | 0 | 82 | February 8, 2007 |