All, reviewing the baords and bug lists it doesn't seem like anyone has encountered this problem so I was hoping someone could help me out. When I add the login engine to my Rails project it seems to break some of the routing. The easist thing to reproduce is that at http://localhost:3000/index.html when I click 'About your application's environment' I get a Routing Error rather than the environment info. Please see my reproduction steps below, I hope this is a small issue.... thanks, -Brent 1. Create new rails project LoginEngineTest 2. Start on webrick server 3. View index.html at localhost:3000 4. Click 'About your application's environment' Ruby version 1.8.4 (i386-mswin32) RubyGems version 0.9.0 Rails version 1.1.6 Active Record version 1.14.4 Action Pack version 1.12.5 Action Web Service version 1.1.6 Action Mailer version 1.2.5 Active Support version 1.3.1 Application root C:/Dev/workspace/LoginEngineTest Environment development Database adapter mysql 5. C:/Dev/workspace/LoginEngineTest> ruby script/plugin install http://svn.rails-engines.org/plugins/engines 6. C:/Dev/workspace/LoginEngineTest> ruby script/plugin install http://svn.rails-engines.org/plugins/login_engine 7. create dev database 8. update database.yml to use dev database 9. add to environment.rb module LoginEngine config :salt, "your-salt-here" end Engines.start :login 10. edit app/controllers/application.rb file require 'login_engine' class ApplicationController < ActionController::Base include LoginEngine helper :user model :user before_filter :login_required end 11. edit ApplicationHelper.rb module ApplicationHelper include LoginEngine end 12. C:/Dev/workspace/LoginEngineTest> rake engine_migrate ENGINE=login 13. Restart webrick server 14. View index.html at localhost:3000 15. Click 'About your application's environment' Routing Error Recognition failed for "/rails/info/properties" 16. This error occurs in development.log ActionController::RoutingError (Recognition failed for "/rails/info/properties"): C:/webdev/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/routing.rb:522:in `recognition_failed' C:/webdev/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/routing.rb:512:in `recognize!' C:/webdev/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `dispatch' C:/webdev/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/webrick_server.rb:115:in `handle_dispatch' C:/webdev/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/webrick_server.rb:81:in `service' C:/webdev/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' C:/webdev/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' C:/webdev/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' C:/webdev/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' C:/webdev/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start' C:/webdev/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start' C:/webdev/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start' C:/webdev/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start' C:/webdev/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/webrick_server.rb:67:in `dispatch' C:/webdev/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/servers/webrick.rb:59 C:/webdev/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' C:/webdev/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require' C:/webdev/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/server.rb:30 C:/webdev/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' C:/webdev/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require' ./script/server:3 -e:4
on 2006-11-20 14:46
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.