On Tue, Jun 7, 2016 at 5:22 AM, Ankit Raj <aktjha@gmail.com> wrote:
> 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 :-)
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yB8iB-acttuuhjLMecSx63gy8V6%3DfcSTu4zwDgbp1E2pQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment