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/CAL%3D0gLs4s8ExTW62qmhdjOMSXrJSYeSEzDmkNtrztCNtiqjsag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to