Long-awaited comparison validator comes to Rails 7
When dealing with dates, it’s a common practice to compare them to other dates. Take for example a Booking class. A Booking normally has a check-in date and a check-out date. In most cases, when creating a booking, both dates must be in the future. A...
sinaptia.hashnode.dev1 min read