5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-03-15 09:28:19 +00:00

Merge branch 'production.panel.sutty.nl' of 0xacab.org:sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-04-15 20:05:19 +00:00
commit 356e4eddaf
2 changed files with 8 additions and 0 deletions

View file

@ -2,4 +2,11 @@
class ApplicationRecord < ActiveRecord::Base
self.abstract_class = true
# Obtener una lista filtrada de atributos al momento de serializar
#
# @return [Hash]
def to_yaml(options = {})
self.class.inspection_filter.filter attributes
end
end

View file

@ -5,4 +5,5 @@
# Configure sensitive parameters which will be filtered from the log file.
Rails.application.config.filter_parameters += %i[
password passw secret token _key crypt salt certificate otp ssn key
_pem _ciphertext email
]