Skip to content

Only include instance methods once attr_encrypted is specified#407

Open
nightpool wants to merge 2 commits intoattr-encrypted:masterfrom
Genius:isolate_instance_methods
Open

Only include instance methods once attr_encrypted is specified#407
nightpool wants to merge 2 commits intoattr-encrypted:masterfrom
Genius:isolate_instance_methods

Conversation

@nightpool
Copy link

@nightpool nightpool commented Jul 21, 2022

Isolate the instance methods for attr_encrypted so that they don't infect other ActiveRecord models in the codebase. This resolves some compatibility issues with other libraries that override method_missing

Use the "InstanceMethods" module pattern to isolate the instance methods for attr_encrypted so that they don't infect other ActiveRecord models in the codebase. This resolves some compatibility issues with other libraries that override method_missing
@nightpool nightpool force-pushed the isolate_instance_methods branch from bd44d90 to 84713fb Compare July 27, 2022 21:33
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

Successfully merging this pull request may close these issues.

1 participant