mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
656c6faf78
Originally strict loading violations would always raise an error if turned on for an association. This change allows for an application to optionally log instead of raise. The behavior here is similar to how strong parameters work. By default all environments will raise. An application may want to use log in production while working on finding all lazily loaded associations. Set `config.active_record.action_on_strict_loading_violation` to `:log` in your application to log instead of raise. |
||
---|---|---|
.. | ||
assets | ||
bug_report_templates | ||
rails_guides | ||
source | ||
.document | ||
CHANGELOG.md | ||
rails_guides.rb | ||
Rakefile | ||
w3c_validator.rb |