Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails where regex

@max_draw = Drawing.where("drawing_number ~* ?", '^Ad{4}$')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rails #regex
ADD COMMENT
Topic
Name
1+2 =