All threads / Making GeoSearch smooth with AJAX Discussion

Ask A Question


You’re not receiving notifications from this thread.

Making GeoSearch smooth with AJAX Discussion


Thanks a lot for this very interesting screencast.
I am having trouble understanding how the AJAX requests works when the map is dragged (there is no link_to with remote:true, just a turbolink.visit request). Would you mind explaning how it works ?


Thank you for the video.

How do your render an escape javascript partial using just webpacker. For example, in the index.js.erb file you are doing the following:

$("#transaction-list").replaceWith("<%=j render partial: "list" %>");

This sadly isn't working and I haven't been able to find a solution on Stack overflow. Thanks!!

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 51,723+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.