mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 14:56:22 +00:00
fix: convertir a yaml
This commit is contained in:
parent
7f437f9e06
commit
e8cf50b9d2
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
|
||||
#
|
||||
# @return [Hash]
|
||||
# @return [String]
|
||||
def to_yaml(options = {})
|
||||
self.class.inspection_filter.filter attributes
|
||||
self.class.inspection_filter.filter(attributes).to_yaml(options)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue