paperclip_database_storage 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -55,12 +55,9 @@ module Paperclip
|
|
55
55
|
end
|
56
56
|
|
57
57
|
def flush_writes
|
58
|
-
puts("[paperclip] Writing files #{@queued_for_write.count}")
|
59
58
|
attachment_definitions = get_attachment_definitions
|
60
59
|
|
61
60
|
@queued_for_write.each do |style, file|
|
62
|
-
puts("[paperclip] Writing files for #{file} #{style}")
|
63
|
-
|
64
61
|
PaperclipDatabaseStorage::Attachment.new do |a|
|
65
62
|
a.attached_type = self.instance.class.name
|
66
63
|
a.attached_id = self.instance.id
|