Module: Immunio::ArelToSqlHooks
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/immunio/plugins/active_record.rb
Instance Method Summary collapse
Instance Method Details
#accept_with_immunio(object, *args) ⇒ Object
101 102 103 104 105 106 107 108 109 110 |
# File 'lib/immunio/plugins/active_record.rb', line 101 def accept_with_immunio(object, *args) if Request.current Request.time "plugin", "#{Module.nesting[0]}::#{__method__}" do visitor = ArelNodeVisitor.new(@connection.object_id) visitor.accept(object) end end accept_without_immunio(object, *args) end |