lib/paperclip/tempfile_factory.rb in kt-paperclip-5.4.0 vs lib/paperclip/tempfile_factory.rb in kt-paperclip-6.2.0
- old
+ new
@@ -1,7 +1,6 @@
module Paperclip
class TempfileFactory
-
def generate(name = random_name)
@name = name
file = Tempfile.new([basename, extension])
file.binmode
file