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