Confdeck 21

use 

(self.to_date - self.from_date 2.months) > 2.months

here. you can discard from_date and to_date calculations