From a3f7407e7c0bdfafda4c574e12a68e9cbbef82c5 Mon Sep 17 00:00:00 2001 From: Dino Maric Date: Thu, 10 Aug 2017 20:02:29 +0200 Subject: Isolate ActiveStorage namespaces (#30095) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Isolate ActiveStorage namespaces * Rename migrations task [Rafael Mendonça França + Dino Maric] --- activestorage/lib/active_storage/engine.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activestorage/lib/active_storage') diff --git a/activestorage/lib/active_storage/engine.rb b/activestorage/lib/active_storage/engine.rb index d5bc70fc0c..a5562b32d3 100644 --- a/activestorage/lib/active_storage/engine.rb +++ b/activestorage/lib/active_storage/engine.rb @@ -5,6 +5,8 @@ require "active_storage" module ActiveStorage class Engine < Rails::Engine # :nodoc: + isolate_namespace ActiveStorage + config.active_storage = ActiveSupport::OrderedOptions.new config.eager_load_namespaces << ActiveStorage -- cgit v1.2.3