I'm trying to figure out whether I can call the validate method twice in an ActiveRecord model definition. Once, of course, would be in a mixin.
So the first question is, is it okay to put this method in a mixin:
validate :check_them_dates
and not worry if classes that include me will want to call validate as well?
I have already looked at the Rails API and the method looks like this (in vaidations.rb):
def validate #:doc:
end
which is to say, where would I look for this?