Skip to content

Commit

Permalink
have to enable eager loading everywhere to prevent weird errors. auto…
Browse files Browse the repository at this point in the history
…loading/eager-loadign in rails 5 seems to be a mess
  • Loading branch information
armandofox committed Sep 27, 2024
1 parent 0a99e5f commit 7c1317a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Do not eager load code on boot. This avoids loading your whole application
# just for the purpose of running a single test. If you are using a tool that
# preloads Rails for running tests, you may have to set it to true.
config.eager_load = false
#config.eager_load = false

# Configure public file server for tests with Cache-Control for performance.
config.public_file_server.enabled = true
Expand Down

0 comments on commit 7c1317a

Please sign in to comment.