Next week ONLamp.com is publishing part 2 of my Rolling with Ruby on Rails article, and I thought I''d better make sure that it works with 0.10.0 -- it doesn''t. When I try to browse to: http://127.0.0.1:3000/recipe/list I get this response: Not Found `/recipe/list'' not found. WEBrick/1.3.1 (Ruby/1.8.2/2004-12-25) at 127.0.0.1:3000 So I figured there must not be any default routing when routes.rb is missing (because it didn''t exist when this app was created with 0.9.5). So I used the rails command to generate a dummy app and copied the routes.rb from that into my cookbook''s config directory. It still doesn''t work... same error. So my question is: what do I need to do to upgrade an existing 0.9.5 rails web app to work with rails 0.10.0? Thanks, Curt PS Thank goodness this happened the week before the article is published and not the week after, otherwise I''d be scrambling for damage control! :-)
Robert Bousquet
2005-Feb-26 09:32 UTC
Re: How do you upgrade a web app to work with 0.10.0?
Upgrading to 0.10.0 - http://manuals.rubyonrails.com/read/book/15 - Robert On Feb 26, 2005, at 1:07 AM, Curt Hibbs wrote:> Next week ONLamp.com is publishing part 2 of my Rolling with Ruby on > Rails > article, and I thought I''d better make sure that it works with 0.10.0 > -- it > doesn''t. When I try to browse to: > > http://127.0.0.1:3000/recipe/list > > I get this response: > > Not Found > `/recipe/list'' not found. > WEBrick/1.3.1 (Ruby/1.8.2/2004-12-25) at 127.0.0.1:3000 > > So I figured there must not be any default routing when routes.rb is > missing > (because it didn''t exist when this app was created with 0.9.5). So I > used > the rails command to generate a dummy app and copied the routes.rb > from that > into my cookbook''s config directory. > > It still doesn''t work... same error. > > So my question is: what do I need to do to upgrade an existing 0.9.5 > rails > web app to work with rails 0.10.0? > > Thanks, > Curt > > PS > Thank goodness this happened the week before the article is > published and > not the week after, otherwise I''d be scrambling for damage control! > :-) > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Very interesting link, but where is this stuff indexed? I frequently see links here to articles deep within the rubyonrails.com site that don''t appear to be reachable by browsing. What I am missing? -Lee On Sat, 26 Feb 2005 01:32:55 -0800, Robert Bousquet wrote> Upgrading to 0.10.0 - http://manuals.rubyonrails.com/read/book/15 > > - Robert >
try this : http://manuals.rubyonrails.com/ but I didn''t find a link to it from the front page .. (didn''t look very thouroughly either) jean On Sat, 26 Feb 2005 06:23:19 -0400, LN <ruby-TpSmtbjcwHBsbIuE7sb01tBPR1lH4CV8@public.gmane.org> wrote:> > Very interesting link, but where is this stuff indexed? > I frequently see links here to articles deep within the > rubyonrails.com site that don''t appear to be reachable > by browsing. > > What I am missing? > > -Lee > > On Sat, 26 Feb 2005 01:32:55 -0800, Robert Bousquet wrote > > Upgrading to 0.10.0 - http://manuals.rubyonrails.com/read/book/15 > > > > - Robert > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
> Very interesting link, but where is this stuff indexed? > I frequently see links here to articles deep within the > rubyonrails.com site that don''t appear to be reachable > by browsing.Some of the Hieraki books are linked from <http://documentation.rubyonrails.com/> But there is no link to the bookshelf: <http://manuals.rubyonrails.com/> How about adding a link there nextangle, "other manuals" perhaps?
> What I am missing?Clearly, you are missing what Google can do for you. http://www.google.com/search?q=upgrading+rails+0.9.5+0.10.0 Nice day ;) Sascha
Hi! On Sat, 26 Feb 2005, Michael Sheets wrote the following:> Some of the Hieraki books are linked from > > <http://documentation.rubyonrails.com/> > > But there is no link to the bookshelf: > > <http://manuals.rubyonrails.com/> > > How about adding a link there nextangle, "other manuals" perhaps? >How about adding a search function to the sites documentation.x and manuals.x? bye Wolfgang
Robert Bousquet wrote:> > Upgrading to 0.10.0 - http://manuals.rubyonrails.com/read/book/15I tried to do a search to find such a thing, but only the wiki has a search function so I guess there''s no reference to this on the wiki. Thanks, Curt