select date and time range from current date time not from past date-time
I am working learning RoR. I have one requirement to input dates from user but it should always be current date time or future. In the input, user is entering start-datetime and end-datetime. Currently I using below syntax and helper class to select date and time.