On Apr 22, 2009, at 7:14 AM, SpringFlowers AutumnMoon wrote:
> > i thought we don't need to restart the server by > > ruby script/server > > after we use > > ruby script/generate controller Bar index help > > ? > > but if i don't restart the server, it will say for localhost:3000/bar > > Routing Error > > No route matches "/bar" with {:method=>:get} > > is it true that we need to restart the server or is there a fast way > instead? thanks. You need to restart the server when you add controllers. If you are just changing them then you don't. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---