Sha256: f8e16fb041774d6f1ca3b458eb7057b7148cc98b007e544e52519c7c92ab601f

Contents?: true

Size: 233 Bytes

Versions: 40

Compression:

Stored size: 233 Bytes

Contents

class PagesWithLayoutsDataset < Dataset::Base
  uses :pages, :layouts
  
  def load
    Page.update_all :layout_id => layouts(:main)
    create_page "Inherited Layout"
    create_page "UTF8", :layout_id => layouts(:utf8)
  end
  
end

Version data entries

40 entries across 40 versions & 5 rubygems

Version Path
radiant-1.1.4 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.1.3 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.1.2 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.1.1 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.1.0 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.1.0.rc1 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.1.0.beta spec/datasets/pages_with_layouts_dataset.rb
radiant-1.0.1 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.1.0.alpha spec/datasets/pages_with_layouts_dataset.rb
radiant-1.0.0 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.0.0.rc5 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.0.0.rc4 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.0.0.rc3 spec/datasets/pages_with_layouts_dataset.rb
kajam-1.0.3.rc2 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.0.0.rc2 spec/datasets/pages_with_layouts_dataset.rb
radiant-1.0.0.rc1 spec/datasets/pages_with_layouts_dataset.rb
radiant-rails3-0.1 spec/datasets/pages_with_layouts_dataset.rb
radiantcms-couchrest_model-0.2.4 spec/datasets/pages_with_layouts_dataset.rb
radiantcms-couchrest_model-0.2.2 spec/datasets/pages_with_layouts_dataset.rb
radiantcms-couchrest_model-0.2.1 spec/datasets/pages_with_layouts_dataset.rb