Sha256: 6fcdd296753eabddcdb31548fdce15bac38828560afe104b3335360f7e807a55

Contents?: true

Size: 194 Bytes

Versions: 4

Compression:

Stored size: 194 Bytes

Contents

if Rails.env == 'development'
  module Enki
    Post.destroy_all
    20.times do |idx|
      Post.create!(:title => "Test post #{idx}", :body => "Lorem ipsum plipsum nipsum.")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 db/seeds.rb
enki-engine-0.0.4 db/seeds.rb
enki-engine-0.0.3 db/seeds.rb
enki-engine-0.0.2 db/seeds.rb