class Rails::Engine
def load_seed
seeds, e.g.:
Load data from db/seeds.rb file. It can be used in to load engines'
def load_seed seed_file = paths["db/seeds.rb"].existent.first run_callbacks(:load_seed) { load(seed_file) } if seed_file end
def load_seed seed_file = paths["db/seeds.rb"].existent.first run_callbacks(:load_seed) { load(seed_file) } if seed_file end