On 18 February 2011 13:42, Victor S <[email protected]> wrote:
> I do wish there was a different error message/exception raised if something
> like this happened rather than a failed validation, since validations ca be
> written to be independent of db column types and therefore not a reflection
> of what is acceptable to the database...

In your OP you said that you were using the :message option on the
validation.  I would not have expected that message unless it was that
validation that failed.  You can specify a different message for each
validation if you wish.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to