audited
audited copied to clipboard
Ruby 2.7.5 Issues with Audited 5
Having multiple issues with audited 5 with ruby 2.7.5
1, Circular dependency detected while autoloading constant Audit
- adding this to the initializer seems to let me progress further
- require "audited/audit"
- Validation error on every model when saving with audits
- Error while creating MyModel - {:audits=>[{:error=>:invalid}]} -
any ideas?
thanks, Simon
@x9sim9 any luck with this one? Not sure if I'm facing the same issue, but I'm on Ruby 2.7.5 and using Audited 5, I continue to receive "Psych::BadAlias (Unknown alias: 1476)" when attempting to save an audited model.
I ended up downgrading back to version 4 which works without issue
Has this been resolved in subsequent versions?
I'm seeing this issue with 5.0.2 in Rails 7 when using a custom audit class.
My project also has an Audit class, so could be a common problem...
I merged an update that expects a string instead of a class toconfig.audit_class
I believe that will solve this issue.