mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 01:26:22 +00:00
inspeccionar metadatos
This commit is contained in:
parent
537ee4cb58
commit
0ee6d5a2ab
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
|||
MetadataTemplate = Struct.new(:site, :document, :name, :label, :type,
|
||||
:value, :help, :required, :errors, :post,
|
||||
:layout, keyword_init: true) do
|
||||
def inspect
|
||||
"#<#{self.class} site=#{site.name.inspect} post=#{post.id.inspect} value=#{value.inspect}>"
|
||||
end
|
||||
|
||||
# Queremos que los artículos nuevos siempre cacheen, si usamos el UUID
|
||||
# siempre vamos a obtener un item nuevo.
|
||||
def cache_key
|
||||
|
|
Loading…
Reference in a new issue