Rails 2.1.2 to 2.3.2 problems

Please use
rake rails:update

After you update your rails version, you should check your app, the
config file and the plugins.
Most time ,the errors are happening in the config file(config/
environments/....) and the plugins.