Sha256: 3053476c6df83b1685b86af6c25b5f8345158c81bc6b7b754eea3b520e1e32f1
Contents?: true
Size: 335 Bytes
Versions: 128
Compression:
Stored size: 335 Bytes
Contents
class Page < PushType::Node # By default a node can have children of any other node type. # Optionally pass a list of acceptable node types or prevent # any descendents by passing false. has_child_nodes :all # Model the content by adding custom fields to the node. # field :body, :text, validates: { presence: true } end
Version data entries
128 entries across 128 versions & 5 rubygems