Plugin to run checks on your Rails 2.x/3.x to check for obvious upgrade points on the path to 3.0
Go to file
Ryan Bigg 961d5d5ff7 Will now output the relative path to a file rather than an absolute 2011-04-08 09:22:18 +10:00
lib Will now output the relative path to a file rather than an absolute 2011-04-08 09:22:18 +10:00
test Will now output the relative path to a file rather than an absolute 2011-04-08 09:22:18 +10:00
MIT-LICENSE Add name in license 2010-02-02 18:56:00 -06:00
README Add installation instructions 2011-04-08 08:34:33 +10:00
Rakefile Switch to FileList for test task 2010-02-02 18:56:15 -06:00
init.rb Remove backtrace silencers to make upgrade issues easier to debug since most issues you'll hit will be coming from within Rails. 2010-02-03 11:22:17 -06:00
install.rb Have some nice instructions after the installation of the plugin 2010-02-02 19:14:27 -06:00
uninstall.rb Initial commit of Rake task/plugin version of rails-upgrade script 2010-01-31 20:27:32 -06: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