I have a model, Consultation, and it has two fields :date and :original_date. Is it possible to pull all consultations where :date is greater than one year after :original_date without looping through all consultations?
I tried something like this but it didn't work:
Consultation.where("date >= ?", self.original_date + 1.year)