Answers for "rails find by regex"

1

rails where regex

@max_draw = Drawing.where("drawing_number ~* ?", '^A\d{4}$')
Posted by: Guest on July-03-2020

Browse Popular Code Answers by Language