# HG changeset patch # User Nattee Niparnan # Date 2020-04-04 17:03:35 # Node ID 9e88bf03eef25983787cb65b1b32d832896b6815 # Parent 7ddf708c67bdd37fca6a47d0ad48e823ee30bdd7 update application.rb diff --git a/config/application.rb.SAMPLE b/config/application.rb.SAMPLE --- a/config/application.rb.SAMPLE +++ b/config/application.rb.SAMPLE @@ -17,6 +17,7 @@ # Custom directories with classes and modules you want to be autoloadable. config.autoload_paths += %W(#{config.root}/lib) + config.eager_load_paths << Rails.root.join('lib') # Only load the plugins named here, in the order given (default is alphabetical). # :all can be used as a placeholder for all plugins not explicitly named.