Schienen wo regex
@max_draw = Drawing.where("drawing_number ~* ?", '^A\d{4}$')
Puzzled Peacock
@max_draw = Drawing.where("drawing_number ~* ?", '^A\d{4}$')