How to add percentage and . in search string rails constrains. It's giving No route matches [GET] (Actually it's a GET Request)
Here is my constraint
get "/external_id/:external_id",
controller: "XXXXXXX",
action: "show_by_login_name",
constraints: { external_id: /[a-zA-Z0-9.]%+/ }