apsislabs / phi_attrs

HIPAA compliant PHI access logging for Ruby on Rails.
MIT License
27 stars 3 forks source link

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

Open wkirby opened 3 years ago

wkirby commented 3 years ago

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.