Newly created Stimulus controllers not loading

@ccuilla Christopher Cuilla
Sat, 03 Jan 2026 16:07:24 +0000

I figured it out.

For some reason there were pre-compiled assets under public/assets. I’m not sure how or when those were generated. It must have been after I created the previous Stimulus controller and before these new ones. They appeared to take precedence. So the new one were not getting picked up.

I resolved this issue by simply running bin/rails assets:clobber. This clears out public/assets. These pre-compiled assets do not appear to be getting regenerated. I’m not entirely sure how they were before. I have not directly run bin/rails assets:precompile so I’m still a bit confused.