Sha256: a05ce9199f55e6680ea9e6f8d4a3da53782a6992d2660769cbcf751cdf7a5fbb
Contents?: true
Size: 514 Bytes
Versions: 36
Compression:
Stored size: 514 Bytes
Contents
namespace :db do namespace :populate do desc "Create populate data with documents" task :create => :create_links desc "Add links to populate data" task :create_links => :read_environment do SocialStream::Population::ActivityObject.new Link do |l| l.title = Forgery::LoremIpsum.words(1+rand(4),:random => true) l.description = Forgery::LoremIpsum.sentences(1+rand(4), :random => true) l.url = "http://#{ Forgery::Internet.domain_name }" end end end end
Version data entries
36 entries across 36 versions & 2 rubygems