Upgrade 2.1.2 to 2.3.4: A copy of XXX has been removed

Hi,
i tried to upgrade from rails 2.1.2 to rails 2.3.4 via:

  1. envorinment.rb

RAILS_GEM_VERSION = ‘2.3.4’ unless defined? RAILS_GEM_VERSION
2) rake rails:upgrade
2.1) # envorinment.rb
config.action_controller.session_store = :mem_cache_store
2.2) # starting memcached locally
memcached -l 127.0.0.1 &
3) ruby script/server
4) calling localhost:3000 in the browser
(map.root :controller => ‘users’, :action => ‘login’)
5) i log in anf then i get the following error message:

ArgumentError in Module/toolsController#visibility

A copy of UserController has been removed from the module tree but is
still active!

RAILS_ROOT: …
Application Trace | Framework Trace | Full Trace

/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:414:in
load_missing_constant' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:96:inconst_missing’
/home/alexanders/Sites/seolytics/sprint1/app/controllers/user_controller.rb:269:in
current_user' /home/alexanders/Sites/seolytics/sprint1/app/controllers/user_controller.rb:261:inlogged_in?’

This problem does not appear in production mode.
But in development mode.
I can solve the problem by setting “config.cache_classes = true” in
development.rb, but its no fun to work with that setting in development
mode.

Does anyone has ideas how to solve the problem?

Greeting,
Alexander