How do we represent a string in ruby like for integer we do \d, is it \s in ruby?
I tried \s and \c*, but nothing worked for me. I have a constraint in my file as per below:
constraints: {:name => /\s+/}
but its not accepting \s for some reason. For integer I use constraints: {:id => /\d+/} and it works.