Sha256: f052ee07604f1fb706a72fe7e247c663ae92f8409459120c503854943ef91944
Contents?: true
Size: 507 Bytes
Versions: 1
Compression:
Stored size: 507 Bytes
Contents
# Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require File.expand_path('../config/application', __FILE__) Rails.application.load_tasks desc 'database tasks' namespace :db do desc 'truncate all data' task :truncate => :environment do User.redis.flushdb end desc 'seed default data' task :seed => :environment do require File.expand_path('../db/seeds', __FILE__) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
distribot-ui-0.1.0 | Rakefile |