Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Ruby
rails where regex
SOE
Programming language:
Ruby
2021-03-08 18:07:11
0
Q:
rails where regex
Ran
Code:
Ruby
2021-08-23 07:01:03
@max_draw = Drawing.where("drawing_number ~* ?", '^A\d{4}$')
1
Related
how to match email in regex in ruby
ruby permit params
ruby else if
ruby find in array
puts ruby example
if contains ruby
ruby unless
ruby comment
ruby match word in string
validates inclusion of rails
rails excep
params except rails
ruby on rails test if all parameters in json request are here
if else ruby
ruby if statement
New to Communities?
Join the community