Class: Ghost::Seeder::Tasks::Db

Inherits:
Object
  • Object
show all
Includes:
Rake::DSL
Defined in:
lib/ghost/seeder/tasks/db.rb

Instance Method Summary collapse

Instance Method Details

#load_tasksObject



9
10
11
12
13
14
15
16
# File 'lib/ghost/seeder/tasks/db.rb', line 9

def load_tasks
  namespace :db do
    desc "set WIPE_DB if you want to wipe"
    task :seed do
      Ghost::Seeder::Runner.run
    end
  end
end