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

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
Join the discussion

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

Join 43,185+ 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.