Ihave recently had the pleasure of updating our app from Rails 4 to Rails 6. Though it initially seemed to be a very smooth transition, I came across some minor problems as testing got underway.

The biggest issue was, of course, that NONE of my custom Javascript modules worked and I was encountering bugs with my Bootstrap and SB-Admin-2 JS scripts.

Some of the bugs I was seeing in my browser developer console were:

TypeError: $(…).metisMenu is not a function

Uncaught ReferenceError: $ is not defined

And absolutely nothing online was (a) relevant to my stack and (b) solving my…

Katya Lait

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store