ruby on rails - Why does my form widget render on every request EXCEPT for the first request? -


I have a problem with a recaptcha widget that I am trying to render on my new.html .hml file . When I click on a link to take me

  localhost: 3000 / forums /: id / topics / new  

.haml is prepared with all the fields on the page, in which the Racqueta widget is expanded except that I have been rendered.

When I new. Html If I refresh the Hubble page, then the recaptcha widget is provided with all subsequent requests and I am able to see the widget on the web page. Why does this happen I have not had any such error before and I do not even know where to start from in my development.log file, I am informed that when I send a GET request to the new html .hml, I think There is no GET request in any of my property in my Rail App, here is a picture showing my point:

When I click on the refresh page , I have the exact same output as the picture with the exception, which will start to hide everything in the Gift requests in my property folder. At the request of refresh, I will see a series of lines like: "/assets/jquery.js?body=1" for 127.0.0.1 in <2015> p; Received 22 12:45:11 -0500

I am thinking that this is a problem, but where do I go from here? I have read about the property's pipeline, but I did not find anything related to this problem. Is this a caching problem? How can I find out other avenues to narrow it down? Any suggestions would be helpful. Thank you. Thanks for BroiSatse, I found out that the problem was actually turbolinks to solve this problem.

I needed to do this, as if to remove new_path from Towbolink:

   

More information can be found on the TurboLinks page:


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -