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 b5dfc47 commit 0cda0b3dbac13c9b60bbe508b130b9cb8a5071dd @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 0cda0b3

Please sign in to comment.