From bf1645613e3482040cbc72f0c11aaf9461914cb8 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 28 Jul 2012 17:51:56 +0200 Subject: 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. --- activerecord/lib/active_record/session_store.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord/lib') 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 # -- cgit v1.2.3