audited icon indicating copy to clipboard operation
audited copied to clipboard

Blacklist Columns or Models

Open chmich opened this issue 6 years ago • 2 comments

Dear creators of this very useful gem!

How can i exclude a specific model?

<Model-Name>.auditing_enabled = false did'nt work for me. i placed it in ApplicationController or inside the models, it did'nt work.

What i want to do is: Place "audited" in ApplicationRecord once for all models and then blacklist columns or models i want to exclude.

Is this possible? Best Regards, Christian

chmich avatar Aug 09 '18 21:08 chmich

@chmich Were you able to figure out a way for this one?

ayzahamid avatar Aug 23 '23 19:08 ayzahamid

Facing the same issue Placed this line inside the model for which audits has to be disabled <Model-Name>.auditing_enabled = false Not working as expected

stadikamalla avatar Apr 09 '24 13:04 stadikamalla