All Questions
Tagged with jquery ruby-on-rails
11,763 questions
0
votes
1
answer
46
views
Reload Instance Variable Every Time after AJAX Call
I have a webpage on my app that allows people to create, edit, and manage tags. Well, now I am implementing a feature where one can delete a group of tags that have a corresponding checkbox marked. ...
1
vote
2
answers
199
views
Jquery not working after upgrading from rails '4.1.2' to rails '8.0.1'
I can't find what the problem is with Jquery not working on my app,
Even a simple hide/show logo $( "#logo" ).hide() / $( "#logo" ).show() on Chrome console is raising the error ...
0
votes
0
answers
36
views
Draggable Items Disappear or Misalign When Dropped in FullCalendar with StimulusJS in Rails
I am integrating FullCalendar with StimulusJS in a Ruby on Rails application to build an interactive scheduling tool. Most of it works as expected, but I am encountering an issue with draggable events ...
0
votes
0
answers
61
views
How to use jquery after migrating from Rails 6 to 7 with esbuild
I can't use jquery after migrating from Rails 6 to 7. I installed Esbuild. Also I run
yarn add jquery
Add next in application.js
import jquery from "jquery"
window.jQuery = jquery
window.$ =...
0
votes
1
answer
87
views
How to resolve Uncaught TypeError from Wave bundle.js when adding Wave.js to Rails 6 app
I am trying to add Wave JS to my Rails 6.1.7.8 app and I'm getting the following Uncaught Type error from Wave bundle.js:
bundle.js:866 Uncaught TypeError: this._canvasElement.getContext is not a ...
0
votes
0
answers
48
views
Problema with bootstrapDualListbox and ajax
I have the following:
html:
<div id="modal-form" class="modal fade" tabindex="-1" aria-hidden="true" style="z-index: 0;">
<div class="...
0
votes
0
answers
40
views
Rails UJS Remote Form Only Evaluates JS for 2XX Responses but Not 4XX Responses
Was there a change in how JQuery 3 and Jquery 1 handled remote form errors on Rails?
In the past, (Rails 6, Zurb Foundation, Jquery 1), the code below would work. A user would submit a form, they'd ...
0
votes
1
answer
212
views
Rails 7 with turbo
I have a rails 7 app and this is my package.json file:
{
"name": "app",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-free": ...
1
vote
0
answers
44
views
Rails: No route matches [POST] "/admin/users/bulk_actions/delete"
I have developed the sign,sign_up and log_out using devise.. Here i am trying to select one or multiple checkbox to do following actions:block,unblock,delete..After blocking a user he/she can't login ...
1
vote
0
answers
53
views
Terminating turbolinks:click event listener once a user has navigated away from a form
I have been tasked with creating an unsaved changes alert in a form partial for a Ruby on Rails app (full MVC architecture). While not new to Rails, I am new to Views, turbolinks, and jquery and have ...
0
votes
1
answer
481
views
Rails 7 with Turbo & jQuery not working / only working at first page load
I am using Rails 7 with the default turbo installation. I also want to use Materialize CSS and jQuery. The jQuery $(document).ready... functions work on first page load but not ever after.
This is a ...
0
votes
1
answer
209
views
rails 7.1.3 doesn't execute application.js
Hi everyone i've been using rails 7.1.3 and i faced some problem in javascript side where application.js does compile my jquery please if you can help me about that i will be greatfull iv'e been ...
0
votes
1
answer
178
views
how can i start a new rails 7 project with bootstrap5 and jquery support
I need to create a rails7.3.1 project with bootstrap latest.But, heard that Jquery will not support with latest bootstrap.
Also, I am planing to download the latest bootstrap files as part of my rails ...
0
votes
1
answer
36
views
Rails Cancancan Ajax custom action not working
I have a Rails App to which I added Devise and Cancancan to authentication and authorization.
Before that, the actio worked correctly, now in the console browser I see a redirect to the home.
I call ...
0
votes
2
answers
326
views
Rails Error: ActionController::UnknownFormat is missing a template for this request format and variant
I have a form in index page and I want that the action will be executed by Ajax, to display the result in the Index page.
This is my form in the index Page:
<%= form_with model: @shopping, :...