If you use range with excluded end in :between option, e.g.
validates_date :field, between: date1...date2
it should be treated as
validates_date :field, on_or_after: date1, before: date2
I also added test for that issue.
This sounds very reasonable and logical. Could you also add some comments to the README?
I added examples to README.
There's a comment in the README under the error messages section about the :between error messages. We should have a something there also since the error message keys are different in this case. Can you please add that also? Thanks
Range with excluded end passed to :between option should be split int…
…o :on_or_after and :before options
Done. Please, check it.