Skip to content

Commit

Permalink
missing require: the AR session store depends on the AP abstract store
Browse files Browse the repository at this point in the history
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 rails#7160.
  • Loading branch information
fxn committed Jul 28, 2012
1 parent b5dfc47 commit 0cda0b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activerecord/lib/active_record/session_store.rb
@@ -1,3 +1,5 @@
require 'action_dispatch/middleware/session/abstract_store'

module ActiveRecord
# = Active Record Session Store
#
Expand Down

0 comments on commit 0cda0b3

Please sign in to comment.