Blogging::ArticleSchema
Inherits Marten::Schema / Marten::Template::Object / Marten::Template::CanDefineTemplateAttributes / Marten::Core::Validation::Callbacks / Marten::Core::Validation / Reference / Object
Constants
FIELDS_ = {"title" => {type: "string", kwargs: {min_size: 10, max_size: 255}}, "description" => {type: "string", kwargs: {max_size: 500}}, "body" => {type: "string", kwargs: {max_size: 100000}}, "tags" => {type: "string", kwargs: {required: false}}} of Nil => Nil
Instance methods
body
body!
body?
description
description!
description?
slugified_title
Sourcetags
tags!
tags?
tags_array
Sourcetitle
title!
title?