I lost even the most basic automatic routing support for the module/:controller/:action/:id URL format going from 1.1.2 to 1.1.3. I had to lock all my apps back to 1.1.2. Is my issue the same issue as Francois?

Actual data but .com names have been changed to protect the innocent:

--- route.rb
ActionController::Routing::Routes.draw do |map|
 map.connect '', :controller => "public"
 map.connect ':controller/:action/:id'
end

--- example URL that now fails with unknown route under 1.1.3
http://www.client.com/admin/user/edit/1

--- expected route
Admin::UserController#edit with :id = 1

Michael Genereux
SimianCodex

Francois Beausoleil wrote:
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 !
------------------------------------------------------------------------

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


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

Reply via email to