audited
audited copied to clipboard
Traverse audits backwards instead of forwards in time
Fixes https://github.com/collectiveidea/audited/issues/394
This breaks backwards compatibility with #revision_at for one test case - we give the best-effort version of the model (as explained in the issue) instead of nil.
I'm running into an issue that would be resolved by this change of approach. If this is updated to resolve the merge conflicts and travis issues, is there interest in merging it?
If we don't like this approach, I think we should explore a method of creating a "create audit" when auditing is added to existing models so that revision_at is usable.