Sha256: f916673fea93d33e365eb5597d76bd607aa9ac9ff9ac0d6eb5d9a52f943b2c96

Contents?: true

Size: 1.39 KB

Versions: 7

Compression:

Stored size: 1.39 KB

Contents

class PageData < ActiveRecord::Migration
  def self.up
    Page.create :title=>"Home",:menu=>"Home",:user_id=>1,:body=>"Mauris vitae nisl nec metus placerat consectetuer. Donec ipsum. Proin imperdiet est. Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer. Donec ipsum. Proin imperdiet est. Phasellus dapibus semper urna. Pellentesque ornare, orci in consectetuer hendrerit, urna elit eleifend nunc, ut consectetuer nisl felis ac diam. "
    Page.create :title=>"Contacto",:menu=>"Contacto",:user_id=>1,:body=>"Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec consectetuer. Donec ipsum. Proin imperdiet est. Phasellus dapibus semper urna. Pellentesque ornare, orci in consectetuer hendrerit, urna elit eleifend nunc, ut consectetuer nisl felis ac diam. Etiam non felis. Donec ut ante. In id eros."
    Page.create :title=>"Quienes somos",:menu=>"Nosotros",:user_id=>1,:body=>"Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum ipsum. Proin imperdiet est. Phasellus dapibus semper urna. Pellentesque ornare, orci in felis. Donec ut ante. In id eros. Suspendisse lacus turpis, cursus egestas at sem.Sed lacus. "
  end

  def self.down
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
squeezer-0.2.1 lib/generators/squeezer/templates/db/migrate/page_data.rb
squeezer-0.2.0 lib/generators/squeezer/templates/db/migrate/page_data.rb
squeezer-0.1.11 lib/generators/squeezer/templates/db/migrate/page_data.rb
squeezer-0.1.7 lib/generators/squeezer/templates/db/migrate/page_data.rb
squeezer-0.1.6 lib/generators/squeezer/templates/db/migrate/page_data.rb
squeezer-0.1.5 lib/generators/squeezer/templates/db/migrate/page_data.rb
squeezer-0.1.4 lib/generators/squeezer/templates/db/migrate/page_data.rb