photomix/vendor/plugins/rails_upgrade
Espen Antonsen 14169b1770 block rails3
2010-09-17 18:52:59 +02:00
..
lib i can haz railz 3 2010-09-17 17:57:33 +02:00
test block rails3 2010-09-17 18:52:59 +02:00
init.rb i can haz railz 3 2010-09-17 17:57:33 +02:00
install.rb i can haz railz 3 2010-09-17 17:57:33 +02:00
MIT-LICENSE i can haz railz 3 2010-09-17 17:57:33 +02:00
Rakefile i can haz railz 3 2010-09-17 17:57:33 +02:00
README i can haz railz 3 2010-09-17 17:57:33 +02:00
uninstall.rb i can haz railz 3 2010-09-17 17:57:33 +02:00

= 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

    # 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