validate two dates, 2date - 1date > 1month

I would probably use something like this, assuming you have a Time the_time:

1.month.ago >= the_time