Skip to main content
Populate dropdowns based on selection with Stimulus JS
Javascript • Asked by Jay Killeen
This is a follow up question from [Populate dropdowns based on selection](https://gorails.com/forum/populate-dropdowns-based-on-selection) that I asked like... 3 years ago... and still haven't real...
6
posts

How do I have data-turbolinks-permanent inside data-behavior="vue"
Javascript • Asked by Alejandro Ruiz
Hello, I'm building a RoR application with Vue.js using a data-behavior="vue". I need to use the data-turbolinks-permanent to keep a nav-bar generated with bootstrap-vue.js and mdbootstrap-vue (...
1
post

Why Wistia?
Javascript • Asked by sweeetland
Hi guys! I'm looking to build an app which will rely heavily on users uploading videos and then playing them within the app. I know Chris uses Wistia but it's pretty pricey, expecially .25c p...
6
posts

How do I use javascript in assets/javascript with HTML
Javascript • Asked by jon
I am completely new to Rails...sorry. I have a simple application. I want to detect when a field changes and in a form_with block in a new.htlm.erb file and execute pure javascript code in the ass...
1
post

Install Bootstrap with Webpack with Rails 6 Beta
Javascript Solved • Asked by Shawn Wilson
For those of you who are going to give Rails 6 Beta a test run here is how I have installed Bootstrap 4.3.1 and configured with Webpack **Step 1:** `yarn add [email protected] jquery popper.js` ...
7
posts

Browser Back button click.
Javascript • Asked by Rahul Kumar Srivastava
I am using pagination and suppose I click on pagination count 3. It opens the table afterwards I any one link. After this I want to get back to same 3rd page so I clicked on browser back button, ...
1
post

How do I render a (Stimulus) modal without user interaction?
Javascript Solved • Asked by Jeff Helman
When a data value in my view meets certain criteria (e.g.: "< 0"), I want to render a modal (which is configured using Stimulus). I know this is a noobish question, but I'm not finding obviou...
3
posts

Segment Analytics integration, my home page pageview event is firing twice in rails 6
Javascript • Asked by Tom Connole
Hi, has anyone had the issue of their home page pageview firing twice for one page view in rails 6 when they've installed Segment? I've added the Turbolinks snippet, but not sure where the problem ...
1
post

Rails Webpack caching
Javascript Solved • Asked by Stephen Sizer
I'm having an issue in development where I've changed my main application.js file in /javascript/packs/ and the file is being cached so having a hard time testing new changes. Does anyone else have...
3
posts

Why isn't the Boostrap Dropdown not working in the menu after loging in ?
Javascript Solved • Asked by Damian Nelwep
Hello, I started an app using the Jumpstart shortcut but didn't find out how and why the dropdown menu with the user's photo wasn't working at all... I guess it is because of javascript but after c...
16
posts

Subscribe to the newsletter

Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.