Sha256: f07683680b3586df090d1d5cf398eb95104a92b978d1e8206f22bd164032c428
Contents?: true
Size: 574 Bytes
Versions: 35
Compression:
Stored size: 574 Bytes
Contents
require "csv" require_relative "./seeds/seeds_helper.rb" def log(msg, type: :full) case type when :full print "-----> #{msg}" if block_given? ms = Benchmark.ms { yield } milliseconds = "#{ms.to_i}ms" print "\r-----> #{milliseconds.ljust(8, ' ')} #{msg}" end print "\n" when :sub puts " #{msg}" else raise "Unknown type #{type}" end end # Seed the database with data common to all installations. # Site specific data should be seeded from the host application. require_relative "./seeds/default/seeds.rb"
Version data entries
35 entries across 35 versions & 1 rubygems