RE: beer


#1

I have one string in my controller but i need to knwon how i
verify if it is numerical

if string =~ /^\d+$/

Another option is to use Integer(str) and check for an error.

What this has to do with beer, I’m not sure.

Regards,

Dan