Commit Graph

6 Commits

Author SHA1 Message Date
Neil Cook
7915c8df40 Second fix to route upgrade bug for :requirements Regexp conversion. Also handles string values, adds additional test and tests pass. 2010-06-11 23:57:35 +08:00
Jesse Storimer
ce22c72ee8 Underscore the app_name before classifying it.
Fixes invalid constant if your app name has a dash in it.
'rails-upgrade'.classify # => Rails-upgrade
'rails-upgrade'.underscore.classify # => RailsUpgrade
2010-02-06 12:11:39 +08:00
Jesse Storimer
0a87d05430 App::Application.routes => App::Application.routes.draw 2010-02-06 11:51:13 +08:00
Jeremy McAnally
28b809bc01 Fix bug where our fake AC::Routing::Routes was stomping on the real one. 2010-02-03 10:58:52 -06:00
Jeremy McAnally
3315d899d6 Get rid of cattr_accessor 2010-01-31 23:10:07 -06:00
Jeremy McAnally
d6a740e2db Initial commit of Rake task/plugin version of rails-upgrade script 2010-01-31 20:27:32 -06:00