no guardar valores nulos
This commit is contained in:
parent
411728648a
commit
06e958710f
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class MetadataArray < MetadataTemplate
|
||||||
#
|
#
|
||||||
# @return [Array]
|
# @return [Array]
|
||||||
def document_value
|
def document_value
|
||||||
[super].flatten(1)
|
[super].flatten(1).compact
|
||||||
end
|
end
|
||||||
|
|
||||||
alias indexable_values value
|
alias indexable_values value
|
||||||
|
|
Loading…
Reference in a new issue