I have an AccountController (notice "Account" not "Accounts") that has this in routes.rb:
map.resource :account, :plural => 'account',
:member => { :login => :post, :logout => :post }
This no longer works in Rails 2.0 RC2. It looks for "AccountsController" (plural)
I've tried debugging it, but am not an EdgeRails expert. Here's the stack trace:
NameError (uninitialized constant AccountsController):
/vendor/rails/activesupport/lib/active_support/dependencies.rb:266:in `load_missing_constant'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:453:in `const_missing'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:465:in `const_missing'
/vendor/rails/activesupport/lib/active_support/inflector.rb:257:in `constantize'
/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:148:in `constantize'
/vendor/rails/actionpack/lib/action_controller/routing.rb:1423:in `recognize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:170:in `handle_request'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch'
that appears irrelevant...