aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-07-28 17:51:56 +0200
committerXavier Noria <fxn@hashref.com>2012-07-28 17:52:27 +0200
commitbf1645613e3482040cbc72f0c11aaf9461914cb8 (patch)
treee6f33392a2b9da2808396e7aa6c87adf8a141152 /activerecord/lib
parentdb340da219a154d3e8e8c1f55267e76ddd1328bf (diff)
downloadrails-bf1645613e3482040cbc72f0c11aaf9461914cb8.tar.gz
rails-bf1645613e3482040cbc72f0c11aaf9461914cb8.tar.bz2
rails-bf1645613e3482040cbc72f0c11aaf9461914cb8.zip
missing require: the AR session store depends on the AP abstract store
This require makes the dependency even more clear. In particular we are eager loading the session store but that does not work if AR is used outside Rails, this patch is preliminary work in fixing #7160.
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/session_store.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/session_store.rb b/activerecord/lib/active_record/session_store.rb
index 1029bed064..7e8adb770b 100644
--- a/activerecord/lib/active_record/session_store.rb
+++ b/activerecord/lib/active_record/session_store.rb
@@ -1,3 +1,5 @@
+require 'action_dispatch/middleware/session/abstract_store'
+
module ActiveRecord
# = Active Record Session Store
#