Most of my rails sites are working fine on 1.1.5, but I have one site 
that has lost it's route to UserController.

ActionController::RoutingError (Recognition failed for "/user/login"):
    /vendor/rails/actionpack/lib/action_controller/routing.rb:526:in 
`recognition_failed'
    /vendor/rails/actionpack/lib/action_controller/routing.rb:516:in 
`recognize!'
    /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
    /opt/rails/manageor_devel/public/dispatch.cgi:10

Engines I am using:

engines http://svn.rails-engines.org/engines/branches/rb_1.1
login_engine http://svn.rails-engines.org/plugins/login_engine

When I ./script/console I can run through the sequence of commands and 
it finds the route correctly, but if I breakpoint in 
action_controller/routing.rb it is failing on line 515:

hash = recognize_path(path)

recognize_path is being generated by some code I don't have time to grok 
ATM, but both environments seem to be generating the same code (except 
for the order of some Hash elements).

When I roll back to 1.1.4, all is fine.  I'm not doing anything fancy 
with routes.rb, only setting a default route:

map.connect '', :controller => 'work'

Any ideas?

Tim.

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to