# config/application.rb
config.autoload_paths << Rails.root.join('lib')
# or
config.autoload_paths += %W(
#{config.root}/...
#{config.root}/...
#{config.root}/...
) # that’s why concerns (model/controller) do not have Concern as namespace
# to check paths loaded
puts ActiveSupport::Dependencies.autoload_paths