Sha256: aeabd4d73f13dfe89d097d890b048d92107e08277eaaadfde85f9f87c20e31e1

Contents?: true

Size: 244 Bytes

Versions: 18

Compression:

Stored size: 244 Bytes

Contents

module PgAuditLog
  class ActiveRecord
    class << self
      private

      def connection
        ::ActiveRecord::Base.connection
      end

      def execute(sql)
        connection.execute_without_auditing(sql)
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
pg_audit_log-0.5.0 lib/pg_audit_log/active_record.rb
pg_audit_log-0.4.5 lib/pg_audit_log/active_record.rb
pg_audit_log-0.4.4 lib/pg_audit_log/active_record.rb
pg_audit_log-0.4.0 lib/pg_audit_log/active_record.rb
pg_audit_log-0.3.6 lib/pg_audit_log/active_record.rb
pg_audit_log-0.3.5 lib/pg_audit_log/active_record.rb
pg_audit_log-0.3.4 lib/pg_audit_log/active_record.rb
pg_audit_log-0.3.3 lib/pg_audit_log/active_record.rb
pg_audit_log-0.3.2 lib/pg_audit_log/active_record.rb
pg_audit_log-0.3.1 lib/pg_audit_log/active_record.rb
pg_audit_log-0.3.0 lib/pg_audit_log/active_record.rb
pg_audit_log-0.2.0 lib/pg_audit_log/active_record.rb
pg_audit_log-0.1.4 lib/pg_audit_log/active_record.rb
pg_audit_log-0.1.3 lib/pg_audit_log/active_record.rb
pg_audit_log-0.1.2 lib/pg_audit_log/active_record.rb
pg_audit_log-0.1.1 lib/pg_audit_log/active_record.rb
pg_audit_log-0.1.0 lib/pg_audit_log/active_record.rb
pg_audit_log-0.0.2 lib/pg_audit_log/active_record.rb