From 28073bbcd6010de077e528f0447b35e51905ed23 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Tue, 3 Dec 2019 02:25:43 +0900 Subject: port tootsuite#12534 to monsterfork: Update ESLint and RuboCop in Code Climate --- app/models/media_attachment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index 502ebb0b5..36282d010 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -325,7 +325,7 @@ class MediaAttachment < ApplicationRecord width: width, height: height, size: "#{width}x#{height}", - aspect: width.to_f / height.to_f, + aspect: width.to_f / height, } end -- cgit