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

PT 9 will have a new API for whodunnit #7

Closed
jaredbeck opened this issue Feb 19, 2018 · 1 comment
Closed

PT 9 will have a new API for whodunnit #7

jaredbeck opened this issue Feb 19, 2018 · 1 comment

Comments

@jaredbeck
Copy link

jaredbeck commented Feb 19, 2018

In paper-trail-gem/paper_trail#1033 we are getting ready to change the API for all "request variables", ie. variables like whodunnit that affect only the current request, not all threads.

I am not familiar with the code in this gem, but I'm guessing you'll have to change PaperTrail.whodunnit= to PaperTrail.request.whodunnit=. There are also changes to whodunnit(value) and whodunnit(value, &block).

I hope this notice helps! ❤️

@jaredbeck
Copy link
Author

Closing due to inactivity.

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

No branches or pull requests

1 participant