Skip to content

Plugin to run checks on your Rails 2.x/3.x to check for obvious upgrade points on the path to 3.0

License

Notifications You must be signed in to change notification settings

dawanda/rails_upgrade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMPORTANT NOTE

This project was forked from github.com/rails/rails_upgrade as that repository is unmaintained. A few pull requests from that main repository were applied. For our repository, it should be deleted once dawanda_main is using Rails 3 (see github.com/dawanda/dawanda_main/pull/1291).

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

About

Plugin to run checks on your Rails 2.x/3.x to check for obvious upgrade points on the path to 3.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%