Sha256: 52779d3b67fb062d2d297be593a74cccbc667d8af4ac3df812f14247407cc887
Contents?: true
Size: 623 Bytes
Versions: 9
Compression:
Stored size: 623 Bytes
Contents
module Cardio # methods in support of seeding module Seed TABLES = %w[cards card_actions card_acts card_changes card_references schema_migrations schema_migrations_core_cards schema_migrations_deck schema_migrations_deck_cards].freeze class << self attr_accessor :path, :test_path, :test_script_path def db_path *args parts = [Cardio.gem_root, "db"] + args File.join(*parts) end end self.path = db_path "seed", "new" self.test_path = db_path "seed", "test", "fixtures" self.test_script_path = db_path "test_seed.rb" end end
Version data entries
9 entries across 9 versions & 1 rubygems