Browse files

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.
  • Loading branch information...
1 parent db340da commit bf1645613e3482040cbc72f0c11aaf9461914cb8 @fxn fxn committed Jul 28, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 activerecord/lib/active_record/session_store.rb
@@ -1,3 +1,5 @@
+require 'action_dispatch/middleware/session/abstract_store'
module ActiveRecord
# = Active Record Session Store

0 comments on commit bf16456

Please sign in to comment.