I m trying to generate some test data on the test environment, and have some random PDF urls that we can use for testing. My AR class looks like this :
class PDF::Template < ActiveRecord::Base
mount_uploader :document, PdfUploader
end
Using ruby code or code that I can run via rake task or via rails console? How can I upload something from random pdf url?