views:

14

answers:

1

Using ruby-debug, when I issue a list command, it shows old code. So if I update the code surrounding (especially before) the debugger command in the model it still shows the old code.

The only way I have found to 'refresh' this code is by stopping the server and running it again.

Is there a better way?

Thanks,

Josh

+1  A: 

Can't you just do a reload? You can also set a flag for auto-reloading but never tried it myself (I tend to use Netbeans now)

hopeless
Using reload didn't work for me but using set autoreload worked great. Thanks.
Josh Pinter