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
84 85 86 87 88 89 90 91 |
# File 'lib/immunio/plugins/active_record.rb', line 84 def accept_with_immunio(object, *args) Request.time "plugin", "#{Module.nesting[0]}::#{__method__}" do visitor = ArelNodeVisitor.new(@connection.object_id) visitor.accept(object) end accept_without_immunio(object, *args) end |