However I see the route isn't recognized and I get
ActionController::RoutingError problems.
It works well with simple rack apps however (the test in actionpack
with a lambda passes well).
I've written a test case which fails. But I couldn't reproduce it
without sinatra.
http://gist.github.com/376653 If you have any more luck than me, I'm all hears.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
I can confirm that this is true. The `recognize_path` lookup failed not because it couldn't find '/nested_application', but because it found it and failed on `route.app.is_a?(Dispatcher)` lookup. `route.app` returns Sinatra::ShowExceptions, which is the first Sinatra middleware on the stack that's unique to Sinatra.
I would suspect that this bug is in Rack::Mount, not Rails, but I'm not sure. (I've only poked around for a couple of minutes.)
Damien MATHIEU
unread,
Apr 26, 2010, 8:59:08 AM4/26/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message