foodsoft/vendor/plugins/rails_upgrade
benni eab16e337e Updated router. Temporarly replaced routing filter with rails internal. 2011-05-11 12:27:58 +02:00
..
lib First step for upgrading to rails 3. 2011-05-11 01:32:21 +02:00
test Updated router. Temporarly replaced routing filter with rails internal. 2011-05-11 12:27:58 +02:00
MIT-LICENSE First step for upgrading to rails 3. 2011-05-11 01:32:21 +02:00
README First step for upgrading to rails 3. 2011-05-11 01:32:21 +02:00
Rakefile First step for upgrading to rails 3. 2011-05-11 01:32:21 +02:00
init.rb First step for upgrading to rails 3. 2011-05-11 01:32:21 +02:00
install.rb First step for upgrading to rails 3. 2011-05-11 01:32:21 +02:00
uninstall.rb First step for upgrading to rails 3. 2011-05-11 01:32:21 +02:00

README

= rails-upgrade

A simple battery of scripts for upgrading Rails app/checking them for required updates.  This application should work on Rails 2.x and 3.0, with a focus on upgrading to 3.0.

== Usage

You need to install this plugin first:

    script/plugin install git://github.com/rails/rails_upgrade.git
    
Then you can run its rake tasks to check your application:

    # Check your app for required upgrades
    rake rails:upgrade:check
    
    # Backup your likely modified files that might be overwritten by the generator
    rake rails:upgrade:backup
    
    # Generate a new route file
    rake rails:upgrade:routes
    
    # Generate a Gemfile from your config.gem directives
    rake rails:upgrade:gems

    # Generate code for a new config/application.rb from your environment.rb
    rake rails:upgrade:configuration