Is there a simple way to force a text_field form helper to return nil instead of an empty string if the length of the string is zero? I am trying to do length validation that uses allow_nil, but unfortunately my database is being populated with empty strings (using Microsoft SQL) I can write triggers to correct this behavior, but I am curious if it can be done easily within rails. Thanks! -kmartin _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails