class RailsBand::ActiveRecord::Event::StrictLoadingViolation

A wrapper for the event that is passed to ‘strict_loading_violation.active_record`.

Public Instance Methods

owner() click to toggle source
# File lib/rails_band/active_record/event/strict_loading_violation.rb, line 8
def owner
  @owner ||= @event.payload.fetch(:owner)
end
reflection() click to toggle source
# File lib/rails_band/active_record/event/strict_loading_violation.rb, line 12
def reflection
  @reflection ||= @event.payload.fetch(:reflection)
end