From f601a01b2cb4c6c0b9f6397874c2998810993bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 3 Aug 2017 16:40:37 -0400 Subject: Do not eager load ActiveRecord::Base Everything inside the app directory of a engine is autoload/eager loaded automatically so we don't need to require them. --- activestorage/app/controllers/active_storage/variants_controller.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activestorage/app/controllers') diff --git a/activestorage/app/controllers/active_storage/variants_controller.rb b/activestorage/app/controllers/active_storage/variants_controller.rb index aa38f8e928..994c57aafd 100644 --- a/activestorage/app/controllers/active_storage/variants_controller.rb +++ b/activestorage/app/controllers/active_storage/variants_controller.rb @@ -1,5 +1,3 @@ -require "active_storage/variant" - # Take a signed permanent reference for a variant and turn it into an expiring service URL for download. # Note: These URLs are publicly accessible. If you need to enforce access protection beyond the # security-through-obscurity factor of the signed blob and variation reference, you'll need to implement your own -- cgit v1.2.3