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

Version Path
push_type_core-0.12.1 test/dummy/app/models/page.rb
push_type_auth-0.12.1 test/dummy/app/models/page.rb
push_type_api-0.12.1 test/dummy/app/models/page.rb
push_type_admin-0.12.1 test/dummy/app/models/page.rb
push_type_core-0.12.0 test/dummy/app/models/page.rb
push_type_auth-0.12.0 test/dummy/app/models/page.rb
push_type_api-0.12.0 test/dummy/app/models/page.rb
push_type_admin-0.12.0 test/dummy/app/models/page.rb
push_type_core-0.12.0.beta.1 test/dummy/app/models/page.rb
push_type_auth-0.12.0.beta.1 test/dummy/app/models/page.rb
push_type_api-0.12.0.beta.1 test/dummy/app/models/page.rb
push_type_admin-0.12.0.beta.1 test/dummy/app/models/page.rb
push_type_core-0.11.2 test/dummy/app/models/page.rb
push_type_auth-0.11.2 test/dummy/app/models/page.rb
push_type_api-0.11.2 test/dummy/app/models/page.rb
push_type_admin-0.11.2 test/dummy/app/models/page.rb
push_type_core-0.11.1 test/dummy/app/models/page.rb
push_type_auth-0.11.1 test/dummy/app/models/page.rb
push_type_api-0.11.1 test/dummy/app/models/page.rb
push_type_admin-0.11.1 test/dummy/app/models/page.rb