Your syntax looks right - what is the error that you're seeing?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Custom Validation | 0 | 56 | September 18, 2007 | |
Rails 2.3.8 v 2.3.11 and validates_length_of | 0 | 138 | May 24, 2011 | |
Problem with validates_length_of an integer | 0 | 112 | July 24, 2007 | |
Validation errors | 0 | 74 | January 26, 2007 | |
JavaScript validation | 0 | 109 | July 3, 2009 |