You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple install on new Rails 6.1 app. As can be seen on page load, connect occurs twice every time. Running Ruby 3.0.0 and Rails 6.1.1 and latest stimulus-rails gem.
Application.js
import "../stylesheets/application";
import $ from 'jquery';
global.$ = jQuery;
import Rails from "@rails/ujs"
import Turbolinks from "turbolinks"
import * as ActiveStorage from "@rails/activestorage"
import "channels"
import "controllers"
import { stripeElements } from "./subscriptions";
global.stripeElements = stripeElements;
global.toastr = require("toastr")
Rails.start()
Turbolinks.start()
ActiveStorage.start()
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
var tooltipList = tooltipTriggerList.map(function(tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})
var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'))
var popoverList = popoverTriggerList.map(function(popoverTriggerEl) {
return new bootstrap.Popover(popoverTriggerEl)
Simple install on new Rails 6.1 app. As can be seen on page load, connect occurs twice every time. Running Ruby 3.0.0 and Rails 6.1.1 and latest stimulus-rails gem.
Application.js
Index.html.haml
Package.js
Environment.js
The text was updated successfully, but these errors were encountered: