This is what I have in config/application.rb
, but when I try to access any class inside lib
folder, I get NameError (uninitialized constant MyClass)
config.extra_autoload_paths = %W[#{Jets.root}/lib]
This is what I have in config/application.rb
, but when I try to access any class inside lib
folder, I get NameError (uninitialized constant MyClass)
config.extra_autoload_paths = %W[#{Jets.root}/lib]
This was actually a bug introduced when the zeitwerk autoloader was introduced. Fixed