Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce auditable.audit_sql for fetching next audit insert query #737

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

amkisko
Copy link

@amkisko amkisko commented Oct 30, 2024

Done:

  • README with short description of feature
  • auditor got audit_sql method
  • test coverage for audit_sql method

Background:

  • audited gem is fully relying on logic happening in callbacks and models
  • if we skip callbacks, we skip audits
  • would be nice to have audits even for large custom operations
  • would be nice to collect queries and run them whenever it is required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant