# When Rails 7 Doesn't Process application.js

DevFeed: [When Rails 7 Doesn't Process application.js](<https://devfeed.tech/articles/when-rails-7-doesn-t-process-application-js-28274.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/rails/2022/04/22/when-rails-7-doesn-t-process-application-js.html>)

Author: Fuzzygroup

Published: 2022-04-22T22:28:00Z

Content type: article

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Rails](<https://devfeed.tech/topics/rails.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Bootstrap](<https://devfeed.tech/topics/bootstrap.md>), [modern web development](<https://devfeed.tech/topics/modern-web-development.md>)

Tags: [asset-pipeline](<https://devfeed.tech/tags/asset-pipeline.md>), [bootstrap](<https://devfeed.tech/tags/bootstrap.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [modern-web-development](<https://devfeed.tech/tags/modern-web-development.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [rails](<https://devfeed.tech/tags/rails.md>)

## AI overview

A troubleshooting post about a Rails 7 application in which Bootstrap popovers did not work because application.js appeared not to be processed or included in the page source. The author discusses tracing the issue to JavaScript and the asset pipeline, but the supplied text ends before the resolution.

## Source excerpt

This is more than a mildly embarrassing post to have to write but it is an interesting example of how habits can bite you hard - so, so hard. I recently wanted to start on an application and actually be current on everything: Rails, Bootstrap, etc. I have long admitted to having issues with respect to "modern" web development (specifically JavaScript / the asset pipeline) and I'm mildly starting to deal with those issues. I began with a BootrAils tutorial and started to work through it. I got all the way to the end and I noticed that I simply could NOT get the popovers to work. I don't claim to have a great understanding of the asset pipeline but I do know that it is a preprocessor that should get invoked on every page request. I traced the problem back to application.js seemingly not getting processed (a view source didn't show it). So, just to be sure, I added this to application