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

11 lines
232 B
Ruby
Raw Normal View History

2011-06-14 20:01:42 +00:00
require 'uri'
require 'open-uri'
2011-06-14 16:05:12 +00:00
namespace :db do
desc 'Imports data from MusicBrainz database'
task :import => :environment do
ati = ['Jet']
2011-06-14 18:06:46 +00:00
ati.each do |name|
ImportController.importArtist(name)
2011-06-14 18:06:46 +00:00
end
2011-06-14 16:05:12 +00:00
end
end