5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 05:26:22 +00:00

fix: convertir a yaml

This commit is contained in:
f 2024-04-15 17:10:19 -03:00
parent 7f437f9e06
commit e8cf50b9d2
No known key found for this signature in database

View file

@ -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(attributes).to_yaml(options)
end end
end end