Ruby on Rails Thursday, July 6, 2017

Hi guys,

I want the user input only integer type. I don't need string or empty input. How do I checking it?
Of course I need cycle, but I don't understand Which expression to set?

Many thanks,
Yuriy

--
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/5ce24194-b4af-438c-a499-1f9b311803e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment