aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-08-03 16:40:37 -0400
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-08-03 16:57:48 -0400
commitf601a01b2cb4c6c0b9f6397874c2998810993bed (patch)
tree0f1771645e89e810a631c503c544cc045ce2fe7b /activestorage/lib
parent6a36b6b0cc35ef2272219069bc642b2817895d6a (diff)
downloadrails-f601a01b2cb4c6c0b9f6397874c2998810993bed.tar.gz
rails-f601a01b2cb4c6c0b9f6397874c2998810993bed.tar.bz2
rails-f601a01b2cb4c6c0b9f6397874c2998810993bed.zip
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.
Diffstat (limited to 'activestorage/lib')
-rw-r--r--activestorage/lib/active_storage/attached.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/activestorage/lib/active_storage/attached.rb b/activestorage/lib/active_storage/attached.rb
index 4644d74bcc..f9c8929c5b 100644
--- a/activestorage/lib/active_storage/attached.rb
+++ b/activestorage/lib/active_storage/attached.rb
@@ -1,6 +1,3 @@
-require "active_storage/blob"
-require "active_storage/attachment"
-
require "action_dispatch/http/upload"
require "active_support/core_ext/module/delegation"