intridea/grape — pull request #102 by jwkoelewijn (2011-12-15 08:41:08+00:00)
Title: Anchoring

Added the possibility to disable the strict Rack-mount anchoring that is used by default, which means that an URL should either match from begin to end or not at all. Rack has an option in #compile_path that is used to disable or enable this anchoring. When it is disabled, only the beginning of a URL should match, which can be useful in some cases. I added an option to disable the anchoring, see README for an example.

p.s. This was inspired by a problem I wanted to solve and this solution I found: http://inductor.induktiv.at/blog/2010/05/23/mount-rack-apps-in-rails-3/