Error loading .rb file in /lib after migration from rails 3 to rails 7
I have a very old application written with rails 3 and need to update it to current rails 7.
I am stuck with a strange problem: in lib/assets there is a file tools.rb full of functions used across all models.
First I had to move tools.rb from “lib/assets” into “lib”