Notes On Upgrading To Rails 2.3
I am upgrading from Rails 2.2.2 to 2.3.2 on a project today. Here’s what I’ve found so far.
- RAILS_ROOT/app/controllers/application.rb has been renamed to application_controller.rb. Upon upgrading if you see
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:443:in `load_missing_constant':NameError: uninitialized constant ApplicationController, that’s the change you need to make. Test::Unit::TestCaseis nowActiveSupport::TestCase. The error you’ll see isundefined method `use_transactional_fixtures=.- Using
fixture_file_uploadstops working unless youinclude ActionController::TestProcess.
More as I find them…
Popularity: 18%
Comment by roger pack
sweet thanks
Added May 18, 2010 @ 4:49 pm