Rails3 validator - has no error message?


So I can create validations like this:

validates :title, :presence => true, :uniqueness => true, :length =>
{ :maximum => 100 }

BUT I cannot use “:message=>‘blah blah’” … ?

I am stuck with the default “is invalid” error message?

Does anyone have any insite into this?


Maybe I’m meant to wrap the validation in something?

On Feb 20, 8:32 pm, “[email protected][email protected]