Routers and dot in string parameter ‘:sex/:word’, :controller => ‘say’, :requirements => { : sex =>
/girl|boy/ }

So this works fine:

also this:

but this:

returns: Error 404 The page you were looking for doesn’t exist.

How can I fix this?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs