On 13 February 2015 at 11:17, Darius Pakusas <dar...@pakusas.lt> wrote: > One of links > http://stackoverflow.com/questions/17729345/when-do-i-need-to-restart-server-in-rails
Well it turns out I have been spouting garbage. Having just tried it on a Rails 3.2 and 4.1 app I find that it is not necessary to restart the server. Very odd, perhaps I am remembering from earlier versions and had not noticed that it had changed. So thanks Darius for helping me to find my mistake, it will save me time in the future. That brings us back though to why you find you need to restart the server. Are you sure that is the case? Can you provide a concrete example? Colin > > On Friday, February 13, 2015 at 12:17:18 PM UTC+2, Colin Law wrote: >> >> On 13 February 2015 at 09:57, Darius Pakusas <dar...@pakusas.lt> wrote: >> > >> > >> > On Friday, February 13, 2015 at 11:26:23 AM UTC+2, Colin Law wrote: >> >> >> >> On 13 February 2015 at 09:09, Darius Pakusas <dar...@pakusas.lt> wrote: >> >> > Hi, >> >> > >> >> > I'm newbie in Rails. When I change routes.rb file Rails does not >> >> > reload >> >> > it, >> >> > means /rails/info/routes shows same old routes and rake routes shows >> >> > new. If >> >> > I stop rails server and start again, it shows new routes. If I rename >> >> > routes.rb files I get an exception routes.rb not found. >> >> >> >> Yes, that is the way it works. If you change routes.rb you need to >> >> restart the server. >> > >> > >> > Even in development? On the web I find older resources saying routes.rb >> > also >> > is reloaded if file is changed. >> >> Yes, even in development. I do not remember a time when that was not >> the case, but my memory may be failing. Have you got a link? >> >> Colin > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/33b3ac7e-2e76-4052-b70b-f58a79e1fc25%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsK7Gk0BQKc1b3MU9F_KEW%3D6Xb7G5manPyK6bM-RQgc3Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.