1
0
Fork 0
oldhaven/lib/tasks/db_import.rake

12 lines
260 B
Ruby

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