This project is archived and is in readonly mode.

#4989 ✓resolved
Andrew White

Rack::Mount blows up if passed invalid constraints

Reported by Andrew White | June 28th, 2010 @ 01:01 AM | in 3.0.2

If you use scope to specify some constraints that aren't used within a route inside that scope then Rack::Mount raises an exception. The attached patch removes any constraints that are not in the list segment keys or is not a public instance method on the request class.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Referenced by

Pages