1 2 3 4 5 6 7 8 9 10 11 12 13
namespace :refinery do namespace :banners do # call this task by running: rake refinery:banners:my_task # desc "Description of my task below" # task :my_task => :environment do # # add your logic here # end end end