Commit f9e592ac by Jon Yurek

Inexplicable non-capitalized Time reference

parent 9135e472
...@@ -50,7 +50,7 @@ module Paperclip ...@@ -50,7 +50,7 @@ module Paperclip
prefix, suffix = basename, '' prefix, suffix = basename, ''
end end
t = time.now.strftime("%y%m%d") t = Time.now.strftime("%y%m%d")
path = "#{prefix}#{t}-#{$$}-#{rand(0x100000000).to_s(36)}-#{n}#{suffix}" path = "#{prefix}#{t}-#{$$}-#{rand(0x100000000).to_s(36)}-#{n}#{suffix}"
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment