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

13 lines
307 B
Ruby

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