Topic: Custom message in validation

Can I have an :message in validates_presence_of? I tried but it's not working. I get a red border around the field but no message what so ever, not even the default. Shouldn't there be one?

Re: Custom message in validation

Are you outputting the error messages in the view? For example:

<%= error_messages_for :my_model %>

Railscasts - Free Ruby on Rails Screencasts