python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
rails 7 with sprockets, enable origin file in compiled css in development
I just started a new rails 7 project with --css bootstrap, but I'm finding that starting the server with bin/dev the compiled css does no longer (as in previous rails versions) output a comment with t...

Don Giulio
Votes: 0
Answers: 2
What is "//= require" in a JavaScript file in a Rails app?
I'm looking at the source code of a Ruby on Rails app. Several of the JavaScript (*.js and *.es6) files in the source have one or more lines at the top of the file like:
//= require path/to/some_other...
Jon Schneider
Votes: 0
Answers: 1
Rails - why is /public/assets gitignored when I need this for static imaged
In my Rails (Rails 7) app, I have some small assets (a logo and a favicon), which I want to render in production as well as in development.
I put the assets in /app/assets/images.
Since setting # conf...

Sventies
Votes: 0
Answers: 2
Using ES6 module with asset pipeline of ruby on rails
I am converting old functional-based syntax Javascript to ES6 classes .
Previously code was like this :
var SW;
if(SW.app === undefined) SW.app = {};
SW.app.NullLicense = (function () {
"use ...
Deepak
Votes: 0
Answers: 1