Sha256: 7190beef2f2c3586bab14ec4c869669fd63e1ecdb44684fee4f52c6ccd34f8b5

Contents?: true

Size: 645 Bytes

Versions: 6

Compression:

Stored size: 645 Bytes

Contents

# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
#   Mayor.create(:name => 'Daley', :city => cities.first)
Comatose.logger.debug "Creating versioned table..."
Comatose::Page.create_versioned_table
Comatose.logger.debug "Creating the default 'Home Page'..."
Comatose::Page.create :title => 'Home Page', :body => "h1. Welcome\n\nYour content goes here...", :author => 'System', :new_root_page => true

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
comatose-rubyisbeautiful-3.0.5 db/seeds.rb
comatose-rubyisbeautiful-3.0.4 db/seeds.rb
comatose-rubyisbeautiful-3.0.3 db/seeds.rb
comatose-rubyisbeautiful-3.0.2 db/seeds.rb
comatose-rubyisbeautiful-3.0.1 db/seeds.rb
comatose-rubyisbeautiful-3.0.0 db/seeds.rb