Rails: Ruby debugger shows old code if I don't stop the server and start it again

Using ruby-debug when I issue the command listshows the old code. Therefore, if I update the code surrounding the command (especially earlier) debuggerin the model, it still shows the old code.

The only way I found an β€œupdate” of this code is to stop the server and start it again.

Is there a better way?

Thank,

Josh

+3
source share
1 answer

reload? , ( Netbeans )

+3

Source: https://habr.com/ru/post/1737037/


All Articles