instance method
strict_loading_violation
Ruby on Rails 7.0.10
Since v6.1.7.10 Last seen in v8.0.4Signature
strict_loading_violation(event)
No documentation comment.
Parameters
-
eventreq
Source
# File activerecord/lib/active_record/log_subscriber.rb, line 22
def strict_loading_violation(event)
debug do
owner = event.payload[:owner]
reflection = event.payload[:reflection]
color(reflection.strict_loading_violation_message(owner), RED)
end
end
Defined in activerecord/lib/active_record/log_subscriber.rb line 22
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::LogSubscriber