paperclip_database_storage 3.0.4 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
|