diff --git a/lib/tasks/urn.rake b/lib/tasks/urn.rake new file mode 100644 index 00000000..64c42ccd --- /dev/null +++ b/lib/tasks/urn.rake @@ -0,0 +1,10 @@ +namespace :urn do + desc "generate and randomize unique urns" + task generate: :environment do + puts "running rake task urn:generate ..." + a = Urn.count + GenerateUrns.call + b = Urn.count + puts "#{b - a} URN created" + end +end