Ryan Bigg
c1fdcfc44f
fixed up rails-3 verb routing. convert 'method' into 'via' [mchung]
2011-04-08 08:32:04 +10:00
Xavier Shay
5223f9699c
Support arrays in member/collection options in the routes upgrader: {:member => {:custom => [:get, :put]}}
2011-04-08 08:17:50 +10:00
Ryan Bigg
0fa6a78f62
Change options on upgraded routes to be more standard :key => value vs :key=>value
2011-04-08 08:11:43 +10:00
Marc Chung
075c128f31
fixed up rails-3 verb routing. convert 'method' into 'via'
2011-02-26 11:04:21 -07:00
Jordan Brough
0098452976
preserve :only & :except options on resources
2010-12-10 13:51:59 -05:00
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