class method
self.action_on_strict_loading_violation
Ruby on Rails edge
Since v7.2.3.2Set the application to log or raise when an association violates strict loading. Defaults to :raise.
Source
# File activerecord/lib/active_record.rb, line 425
singleton_class.attr_accessor :action_on_strict_loading_violation
Defined in activerecord/lib/active_record.rb line 425
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord