aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_storage
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2017-07-06 17:00:21 -0400
committerGeorge Claghorn <george@basecamp.com>2017-07-06 17:00:47 -0400
commit04e6728dd50cbe80a8f0039e9718dc96bc46e701 (patch)
treecf07265b8bf3a585d8b3c987b712934458d880ec /lib/active_storage
parent87fe9ff1a3a0eb1e8248ffc80dbba96945b76484 (diff)
downloadrails-04e6728dd50cbe80a8f0039e9718dc96bc46e701.tar.gz
rails-04e6728dd50cbe80a8f0039e9718dc96bc46e701.tar.bz2
rails-04e6728dd50cbe80a8f0039e9718dc96bc46e701.zip
Remove unnecessary method delegations
Diffstat (limited to 'lib/active_storage')
-rw-r--r--lib/active_storage/service/mirror_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_storage/service/mirror_service.rb b/lib/active_storage/service/mirror_service.rb
index 59ad3fc472..1ec0930e6c 100644
--- a/lib/active_storage/service/mirror_service.rb
+++ b/lib/active_storage/service/mirror_service.rb
@@ -3,7 +3,7 @@ require "active_support/core_ext/module/delegation"
class ActiveStorage::Service::MirrorService < ActiveStorage::Service
attr_reader :services
- delegate :download, :exist?, :url, :byte_size, :checksum, to: :primary_service
+ delegate :download, :exist?, :url, to: :primary_service
def initialize(services:)
@services = services