From 89b3859953f4dded44c1f8874d68d0ae41a4ae2b Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Mon, 30 Mar 2015 14:30:06 -0300 Subject: [PATCH] rails4: convert to string --- lib/delayed_attachment_fu.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/delayed_attachment_fu.rb b/lib/delayed_attachment_fu.rb index 1405c36..0e0ded6 100644 --- a/lib/delayed_attachment_fu.rb +++ b/lib/delayed_attachment_fu.rb @@ -44,7 +44,7 @@ module DelayedAttachmentFu size = nil end if !self.thumbnailable? || self.thumbnails_processed || force - super(size) + super(size.to_s) else size ||= 'thumb' '/images/icons-app/image-loading-%s.png' % size -- libgit2 0.21.2