Hi all,

I seem to have a problem.  I attached a test case which I can't make
pass.  The route was extracted verbatim from an existing application.
If I rollback in time to r4393, the tests pass.

The route is:
map.game_instructions 'game/:game/instructions', :controller => 'games',
   :action => 'instructions', :requirements => {:game => /\A[-\w \+%]+\Z/i}

That is one of many routes I test.  The only route test I can make
pass is if I remove the requirements.  In the tests, you'll also see I
have much less stringent requirements for the game parameter:  /^.*$/
is one of them, and that fails too.

Can anyone shed some light on this ?

Thanks !
--
François Beausoleil
http://blog.teksol.info/

Attachment: routing-test.patch
Description: Binary data

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to