Ask A Question


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

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


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


rails webpacker:install:vue
rails aborted!
Don't know how to build task 'webpacker:install:vue' (See the list of available tasks with rails --tasks)


This was solved by using webpacker 5.2.1 instead of the version in the jumpstart pro template (6.0.0.pre2)


Run first rails webpacker:install and override the previous installation of webpacker, then rails webpacker:install:vue


When embedding a comment widget, it is important that you follow all of the embedding guidelines that are listed in the W3C specification. If you do not follow these guidelines, you may run into issues when embedding your widget.

Join the discussion

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

Join 73,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.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.