You say that you have an example of validates_length_of "somewhere
else" that /does/ work. Are you sure that it is not the "somewhere
else" that is significant. Try replacing the validates_length_of that
is working with a validates_format_of and see if you then get the
message. Also try replacing the format validation that does not show
the error with a validates_length_of.
I tried what you suggested and I got the error message with validates_format_of where validates_length_of worked, and length_of didn’t work where my format_of wasn’t working. So it looks like the “somwhere else” is significant, but I cant see any obvious differences between the two models, any suggestions?