87828 threads
759 threads
1 email from 1 person
If my model includes (e.g.) validates_presence_of :name, the user can type a few blanks and no error will be raised. What would be the correct validation to put in the model such that all blanks is not accepted?