RubyFlow The Ruby and Rails community linklog

How to Create a Polymorphic Whodunnit on PaperTrail

PaperTrail’s versioning and whodunnit to track auditing is fantastic. However, it falls apart if you have multiple user classes, such as Admin and User. Read on to keep your auditing trail clean and exact.

http://blog.nrowegt.com/papertrail-polymorphic-whodunnit/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in