namespace :mobile_bulletin do task :update => :environment do site = Site.first site.announcement_category = [] site.save! puts "Activated Mobile Bulletin" end end