Validation messages


I'm developing a dutch ruby on rails application. So I want the error
messages to be in dutch. But when I add: ":message => 'Geen wachtwoord
ingevuld' " to the user model I get this error message:

" Password Geen wachtwoord ingevuld"

How can I remove the fieldname from the error message? So it would

"Geen wachtwoord ingevuld"

you could probably do something like

validate_on_create :check_defaults
def check_defaults
errors.add("",“dutch text”) if self.password.length<5

Best regards

Peter De Berdt

Thanks! Works like a charm. Maybe a bit too much for what I want. But
maybe when I get to know Ruby/Rails better I'll make one myself.