calling rake tasks with parameters
June 18th, 2008 • Uncategorized
namespace :backup do task :dump_dynamic_tables => :environment do ENV[TABLES] = 'users' Rake::Task['db:fixtures:export_for_tables'].invoke end end
June 18th, 2008 • Uncategorized
namespace :backup do task :dump_dynamic_tables => :environment do ENV[TABLES] = 'users' Rake::Task['db:fixtures:export_for_tables'].invoke end end