mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-15 03:38:17 +00:00
Merge branch 'issue-14339' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
10b2db3997
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ class ApplicationRecord < ActiveRecord::Base
|
||||||
|
|
||||||
# Obtener una lista filtrada de atributos al momento de serializar
|
# Obtener una lista filtrada de atributos al momento de serializar
|
||||||
#
|
#
|
||||||
# @return [Hash]
|
# @return [String]
|
||||||
def to_yaml(options = {})
|
def to_yaml(options = {})
|
||||||
self.class.inspection_filter.filter attributes
|
self.class.inspection_filter.filter(serializable_hash).to_yaml(options)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue