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