aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/session_store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/session_store.rb b/activerecord/lib/active_record/session_store.rb
index 5db2905c95..1c4ecda5b5 100644
--- a/activerecord/lib/active_record/session_store.rb
+++ b/activerecord/lib/active_record/session_store.rb
@@ -182,7 +182,7 @@ module ActiveRecord
##
# :singleton-method:
# Use the ActiveRecord::Base.connection by default.
- cattr_writer :connection
+ cattr_accessor :connection
##
# :singleton-method: