Plugin to run checks on your Rails 2.x/3.x to check for obvious upgrade points on the path to 3.0
00a7255a88
- Ruby 1.8 returns method names as strings whereas 1.9 returns symbols so remove both within run method. - Wrap culprits in Array to ensure we can enumerate over them. |
||
---|---|---|
lib | ||
test | ||
init.rb | ||
install.rb | ||
MIT-LICENSE | ||
Rakefile | ||
README | ||
uninstall.rb |
= 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