Sha256: 6fc13864a88a74c68c87e037234d377de31db77e0cb638f9a85a626b1bd0f36d

Contents?: true

Size: 462 Bytes

Versions: 2

Compression:

Stored size: 462 Bytes

Contents

# Seed file of Findable

# Require seed support module
require "findable/seed"

# Path to the reading of the seed.
seed_dir = File.expand_path("../findable_seeds", __FILE__)

# Target seed files.
# Run all in the case of `nil`.
# Example of if you want to run some only.
# seed_files = ["products", "customers"] #=> Only products.yml and customers.yml
seed_files = nil

# Execute
Findable::Seed.target_files(seed_dir, seed_files).each {|seed| seed.bootstrap! }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
findable-0.0.3 lib/generators/findable/templates/seeds.rb
findable-0.0.2 lib/generators/findable/templates/seeds.rb