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

Add flag for excluding Rails default attributes from PHI wrapping #56

Open
wkirby opened this issue Mar 5, 2021 · 0 comments
Open

Add flag for excluding Rails default attributes from PHI wrapping #56

wkirby opened this issue Mar 5, 2021 · 0 comments

Comments

@wkirby
Copy link
Contributor

wkirby commented Mar 5, 2021

We should include a simple flag when calling phi_model that will exclude id, created_at, and updated_at from PHI wrapping. Instead of hard-coding ID, we should grab class.primary_key to know which one is the primary key.

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