Sha256: ec4c351c37146e25758caed1a34db3845ef3bb9efdc52aadc94be3cb5d200f27

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

# Sub pages created here only if root has no children
#
page_type_simple = PageType.where( type: :page ).first
page_node_root = PageNode.root

model PageNode

find_by :parent_id

seeds [
{
  parent_id: page_node_root.id, page_type: page_type_simple
}
]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aerogel-pages-1.4.14 db/seed/development/04_news_page_node.seed
aerogel-pages-1.4.12 db/seed/development/04_news_page_node.seed