Closed wjdhamilton closed 1 year ago
I should also add that the call to byebug is ignored, the code just continues right past
...and almost just as strangely byebug started to work and the template continues to work properly without it. Something to do with Spring?
sounds potentially like a caching issue (whether its static asset caching in the browser, or spring, or rails).
This isn't really a bug as such, but it is rather confusing. In order to use rails helpers in my templates I added the following initialiser to my app:
...and now if I try and use the following template:
It only renders the list of suppliers if the call to byebug is included in the code. Why would this be? And can anyone recommend a better way of getting this functionality?