Sha256: 3d1e7da2f7087d2884608d5c3d792f5a73d4750007fb7ed839d57dfc80823d07
Contents?: true
Size: 404 Bytes
Versions: 10
Compression:
Stored size: 404 Bytes
Contents
class AddPages < ActiveRecord::Migration def self.up # Don't add this stuff in a migration. # Page.create(:title=>:about.l, :body=>"<p>#{:your_about_text_goes_here.l}</p>", :published_as=>"live", :page_public=>true) # Page.create(:title=>:faq.l, :body=>"<p>#{:your_faq_text_goes_here.l}</p>", :published_as=>"live", :page_public=>true) end def self.down Page.destroy_all end end
Version data entries
10 entries across 10 versions & 1 rubygems