aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/rails.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/rails.rb')
-rw-r--r--activerecord/lib/active_record/rails.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/rails.rb b/activerecord/lib/active_record/rails.rb
index a13bd2a5da..8e9ba041fd 100644
--- a/activerecord/lib/active_record/rails.rb
+++ b/activerecord/lib/active_record/rails.rb
@@ -2,6 +2,7 @@
# rails, so let's make sure that it gets required before
# here. This is needed for correctly setting up the middleware.
# In the future, this might become an optional require.
+require "active_record"
require "action_controller/rails"
module ActiveRecord