Upgrading to Ruby On Rails 1.1

There is that little web app at work which was based on Rails 1.0 and uses the upload progress indicator. This feature was marked as experimental in the Rails 1.0 API documentation.

After upgrading to Rails 1.1 following the simple instructions in the Rails blog and restarting the Apache web server, the Rails app didn’t start up anymore. After a lot of useless thinking I stumbled upon this blog entry which solved the problem. If you use the upload prograss feature of Rails 1.0 and want to upgrade to Rails 1.1, follow these two steps:

  1. Run script/plugin install upload_progress (because the upload progress is now a plug-in)
  2. Remove ActionController::Base.enable_upload_progress from config/environment.rb

technorati tags: , , ,

This entry was posted in Developer, Web. Bookmark the permalink.

One Response to Upgrading to Ruby On Rails 1.1