Trying to create a schedule select field so users can only select date time greater than now

this is the way i have my select without the feature i haven’t attempted
add the feature because i don’t know what method that would be
<%= f.datetime_select :start_time, discard_year: true %>

Have you considered enforcing this through validation in your model?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs