require 'uri' require 'open-uri' namespace :db do desc 'Imports data from MusicBrainz database' task :import => :environment do ati = ['Jet'] ati.each do |name| ImportController.importArtist(name) end end end