Skip to main content
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

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` ...
5
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

How do I get Rails Ajax to work using ujs
Javascript • Asked by Denswami
Hello, I am trying to user ajax on rails using the ujs library. I am calling the new controller action,with the remote: true property, however the request is being processed as JSON instead of JS.
2
posts

Stimulus - flatpickr
Javascript • Asked by kriera
Hi all i've been trying to do one thing without sucess for few days... i want to select a date on the flatpickr and then based on that date create a table Date selected Date selected -1day Da...
1
post

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...
4
posts

Why have the three dots syntax?
Javascript • Asked by shreyathakare
So basically I have a doubt in[ java developement](https://crbtech.in/java-training/top-java-developer-training-and-placement-in-pune) which i don’t get what’s the difference between these two li...
2
posts

Subscribe to the newsletter

Join 20,000+ 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.