Ask A Question

Notifications

You’re not receiving notifications from this thread.

Making GeoSearch smooth with AJAX Discussion

Nice video Chris!

Reply

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 ?

Reply

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" %>");
addMarkers();

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

Reply
Join the discussion
Create an account Log in

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

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

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