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

  1. rashila says:

    I am using rails 1.1.6. and also upload_progress plugin . I am running my application in webrick server. Does this plugin work with webrick server ? Progress bar ia displayed. But it only shows “upload started ..” and “upload finished..”. No information is shown while uploading is being done. I have to show the upload progress information including speed of upload, how much is there remaining to be uploaded and percentage of upload completed. What should iI do to get all these?? Expecting reply..