Sha256: dd0e474f89ce846f91ec3a70c235173471971a6ff6e42c7421b86732e1f48f28
Contents?: true
Size: 451 Bytes
Versions: 11
Compression:
Stored size: 451 Bytes
Contents
=begin ## clean WcoEmail::EmailAction.each do |act| if !act.lead act.delete end end ## clean WcoEmail::Context.each do |ttt| if !ttt.lead ttt.delete end end =end namespace :db do desc "seed" task seed: :environment do inbox = Wco::Tag.find_or_create_by({ slug: 'inbox' }) trash = Wco::Tag.find_or_create_by({ slug: 'trash' }) poxlovi = Wco::Lead.find_or_create_by!({ email: 'poxlovi@gmail.com' }) end end
Version data entries
11 entries across 11 versions & 1 rubygems