Skip to content

Commit

Permalink
Merge pull request #1782 from MushroomObserver/nimmo-log-strict-loading
Browse files Browse the repository at this point in the history
`config.active_record.action_on_strict_loading_violation = :log`
  • Loading branch information
nimmolo committed Jan 9, 2024
2 parents 64aaa1e + e0e1a3e commit 41d7a49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ class Application < Rails::Application

# Rails 6.1+
config.active_record.legacy_connection_handling = false

# Strict loading - just log, don't error out the page!
config.active_record.action_on_strict_loading_violation = :log
end
end

Expand Down

0 comments on commit 41d7a49

Please sign in to comment.