-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Hi,
I have a case where not all model in my app needs to become permanent_records but the issue is that Permanent Records adds itself to all Activerecords with:
ActiveSupport.on_load(:active_record) do
ActiveRecord::Base.send :include, PermanentRecords::ActiveRecord
end
My proposal is to have a setting to:
- Decide if we want Permanent Records in all models - as it is right now -
- Add Permanent Records to only those that need it.
Please let me know if you are willing to accept a PR for this.
Metadata
Metadata
Assignees
Labels
No labels