I want to import and use functions from my javascript/helpers/functions.js file in my stimulus controllers. I tried pinning it with: # importmap.rb pin_all_from
I have a calculator which users would enter in values, hit submit and without refreshing or re-rendering, the calculated values would display on the page. All w
I have switched to Rails 7 and I found some issues when I upload image in my localhost. The system idles for 10/30 sec even for 5kb images, picture will be corr
I am trying to use the vanilla-nested gem, with Rails 7, to add an item in a nested edit form. The link is not work and not action results. I have tried to foll
playing around with Rails 7 and import maps. Trying to import a folder with some custom JS. # config/importmap.rb pin_all_from "app/javascript/custom", under: "
Trying out rails 7, with tailwind and postcss. I have a few stylesheets in assets/stylesheets, which I import through a file called imports.css in the same fold
For some unknown reason Rails 7 (development environment) doesn't pick up changes in application.js automatically when I hit F5 in the browser. The location app
Extremly odd error, asset precompilation works fine in dev mode, but as soon as i do production mode, i get error: root@53407ec15126:/app# RAILS_ENV=production
I upgraded to Rails 7 and Ruby 3.1. While trying to run tests with rspec I got the error below. How can I fix it? An error occurred while loading rails_helper.
I want to display the top 10 users whose posts got the most likes in past 2 hours, how can I do that inquest index to get user <%@users.each do |user| %>
I have tried upgrading my Rails app from 6.1 to 7 and after running bundle app:update I get the following error: rails aborted! NameError: uninitialized constan
I'm confused about the idiomatic way to process Sass in Rails 7. The README.md for the importmap-rails repo says: This frees you from needing Webpack, Yarn, np
I need to render an html code I receive from an API. In Rails 6 : I was doing this in my controller, and it was working fine. I called the webservice I received
I'm currently upgrading my rails app to 7. I was just testing it for a while then I have issues on Foundation Rails. I installed it and followed all the steps e
I am trying to use Select2 on a new Rails 7 app and am struggling as follows: I have pinned it into my import maps and imported it like so: pin "application", p
I've looked around for as much help as possible regarding installing jQuery in Rails 7 (7.0.2.3). I want to use it in script tags in my views, but I can't seem
I have a Rails 7 project using TailwindCSS deployed to Heroku that is not building tailwind.css during rake asset:precompile and I don't know why. When I try to
I'm new to Rails 7's importmap and the documentation says you can pin a JavaScript module and then import it: ./bin/importmap pin react react-dom import React
I'm new to Rails 7's importmap and the documentation says you can pin a JavaScript module and then import it: ./bin/importmap pin react react-dom import React
A light Ubuntu user here (WSL). I issued the command in rails 7 (even as the root user) bin/importmap pin bootstrap and ./bin/importmap pin bootstrap but got a