X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8af14faa49deed681fa835dd6bd3f77316b44a55..eefb42334f6d928081d5d5edbb92e75813666dbb:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index 55c2df4ae..de5852fc4 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -44,6 +44,7 @@ Rails::Initializer.run do |config| # To use Rails without a database, you must remove the Active Record framework if OSM_STATUS == :database_offline config.frameworks -= [ :active_record ] + config.eager_load_paths = [] end # Specify gems that this application depends on.