mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 05:26:22 +00:00
Merge branch 'rails' of 0xacab.org:sutty/sutty into rails
This commit is contained in:
commit
5c36de818f
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,13 @@ class MetadataBelongsTo < MetadataRelatedPosts
|
||||||
''
|
''
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Obtiene el valor desde el documento.
|
||||||
|
#
|
||||||
|
# @return [String]
|
||||||
|
def document_value
|
||||||
|
document.data[name.to_s]
|
||||||
|
end
|
||||||
|
|
||||||
def validate
|
def validate
|
||||||
super
|
super
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue