All threads / Embeddable Javascript Comments Widget Models - Part 1 Discussion

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Embeddable Javascript Comments Widget Models - Part 1 Discussion

This is perhaps a bit of a newbie question but I wanted to ask your opinion on what are the things I would consider usually when it comes to using the approach you outlined in the video to sanitize a URL vs using the Ruby Standard Library https://ruby-doc.org/stdlib-2.5.0/libdoc/uri/rdoc/URI.html

Are there any big advantages to one way or the other I should keep in mind?

Reply

Can you share the template.rb file you use to generate new rails projects?

Reply
Join the discussion

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

Join 37,344+ 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

    © 2020 GoRails, LLC. All rights reserved.