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
Reply

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)

Reply

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

Reply

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

Reply

Any plans to do a version with vanilla JS and/or turbo?

Reply
Join the discussion
Create an account Log in

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

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

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