Jeremy Evans
14a181620c
Add ResourceMethods plugin encrypted_columns argument
...
This DRYs up setting up encrypted columns for a model. You just
need to specify the column or columns to be encrypted, and the
plugin takes care of setting up the column_encryption plugin.
Other advantages:
* Model.redacted_columns is now an attr_reader, and does not
need to check for encrypted columns every time it is called.
* Model#before_destroy can look at Model.encrypted_columns (also
an attr_reader), so it is simplified as well. Simplify the
method while here by using hash key omission, and make sure
the constant it uses is frozen.
2025-07-09 05:45:18 +09:00
..
2025-07-09 05:45:18 +09:00
2025-07-09 00:42:44 +09:00
2025-07-09 05:45:18 +09:00
2025-07-09 00:42:44 +09:00
2025-07-09 05:45:18 +09:00
2025-07-09 05:45:18 +09:00
2025-06-04 04:55:45 +09:00
2024-12-30 12:22:26 +03:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-06-21 07:53:00 +09:00
2025-07-09 05:45:18 +09:00
2024-12-14 11:48:31 +01:00
2025-06-04 04:55:45 +09:00
2025-06-25 05:12:03 +09:00
2025-07-04 14:59:44 +03:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-07-09 05:45:18 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-07-03 18:14:55 +03:00
2025-07-09 00:42:44 +09:00
2025-06-04 04:55:45 +09:00
2025-01-31 14:24:34 +01:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-07-09 00:42:44 +09:00
2025-06-04 04:55:45 +09:00
2025-07-09 05:45:18 +09:00
2025-07-07 10:52:33 +03:00
2025-07-07 10:52:33 +03:00
2025-07-09 05:45:18 +09:00
2025-04-30 06:05:53 +09:00
2025-06-04 04:55:45 +09:00
2025-07-09 05:45:18 +09:00
2025-07-09 00:42:44 +09:00
2025-06-04 14:38:13 +03:00
2025-06-04 04:55:45 +09:00
2025-07-07 10:52:33 +03:00
2025-06-04 04:55:45 +09:00
2025-07-09 00:42:44 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-07-08 14:06:34 +03:00
2025-06-04 05:26:37 +09:00
2025-06-04 04:55:45 +09:00
2025-07-09 05:45:18 +09:00
2025-06-04 04:55:45 +09:00
2025-07-09 05:45:18 +09:00
2025-07-04 09:26:06 +09:00
2025-06-04 04:55:45 +09:00
2025-06-04 04:55:45 +09:00
2025-06-11 11:24:17 -07:00
2025-07-09 05:45:18 +09:00
2025-07-09 05:45:18 +09:00
2025-06-04 04:55:45 +09:00
2025-07-09 00:42:44 +09:00
2025-07-09 00:42:44 +09:00
2025-07-09 00:42:44 +09:00
2025-07-07 10:52:33 +03:00
2025-07-09 00:42:44 +09:00