5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 04:46:21 +00:00

Merge branch 'hotfix-metadata-belongs-to' into 'rails'

Devolver el tipo de dato correcto

See merge request sutty/sutty!48
This commit is contained in:
Maki 2021-07-13 16:41:21 +00:00
commit e3aba348a2

View file

@ -13,6 +13,13 @@ class MetadataBelongsTo < MetadataRelatedPosts
''
end
# Obtiene el valor desde el documento.
#
# @return [String]
def document_value
document.data[name.to_s]
end
def validate
super