Skip to content

Fix strict loading default mode

Nicolas Bouilleaud requested to merge fix-strict-loading into main

The syntax in the initializer:

config.active_record.strict_loading_by_default = {mode: :n_plus_one_only}

is not supported, it just sets it to true. There is currently no supported way to set the default mode to :n_plus_one_only in the initializers; let’s just set it in each instance 🤷.

Merge request reports