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

Remove the insertion of the abstractor_user method into the host application ApplicationController. #41

Open
mgurley opened this issue Sep 6, 2014 · 1 comment

Comments

@mgurley
Copy link
Member

mgurley commented Sep 6, 2014

Looks like this method is not currently being used. Maybe it was added because I thought 'one day we might need it'.

@mgurley mgurley changed the title Remove the insertion of the abstractor_user method into host application ApplicationController. Remove the insertion of the abstractor_user method into the host application ApplicationController. Sep 6, 2014
@ybushmanova
Copy link
Member

The paper_trail gem uses "current_user" to track version history. When host application uses Aker, user_for_paper_trail has to be defined to avoid having the whole Aker::User object serialized by paper_trail. Either it should be mentioned in documentation (i.e make sure your "current_user" method can be converted to a string), or abstractor can internally use abstractor_user as user_for_paper_trail.

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

2 participants