While filling the form in my rails app I want to give option to start date from today onwards not past date.
How can we do that?
here’s my code https://gist.github.com/aj07/54db84129929577fde58f23c2c282441
While filling the form in my rails app I want to give option to start date from today onwards not past date.
How can we do that?
here’s my code https://gist.github.com/aj07/54db84129929577fde58f23c2c282441
If that's the actual code, ask yourself why you're "validating" an apparently non-existent attribute