Commit 89b3859953f4dded44c1f8874d68d0ae41a4ae2b
1 parent
03c4d8cf
Exists in
master
and in
20 other branches
rails4: convert to string
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/delayed_attachment_fu.rb
@@ -44,7 +44,7 @@ module DelayedAttachmentFu | @@ -44,7 +44,7 @@ module DelayedAttachmentFu | ||
44 | size = nil | 44 | size = nil |
45 | end | 45 | end |
46 | if !self.thumbnailable? || self.thumbnails_processed || force | 46 | if !self.thumbnailable? || self.thumbnails_processed || force |
47 | - super(size) | 47 | + super(size.to_s) |
48 | else | 48 | else |
49 | size ||= 'thumb' | 49 | size ||= 'thumb' |
50 | '/images/icons-app/image-loading-%s.png' % size | 50 | '/images/icons-app/image-loading-%s.png' % size |