aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-08-15 07:47:52 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-08-15 07:47:52 -0300
commit69de30d01f26c1dc2cee65cefcfe4f3a2d032cdc (patch)
tree77186d44899f7b26c844cb6b93f1d80e35e55b45 /activerecord/lib
parentf4cce71d96c4aab898ae074174d93802fcb0b1cc (diff)
downloadrails-69de30d01f26c1dc2cee65cefcfe4f3a2d032cdc.tar.gz
rails-69de30d01f26c1dc2cee65cefcfe4f3a2d032cdc.tar.bz2
rails-69de30d01f26c1dc2cee65cefcfe4f3a2d032cdc.zip
Revert "connection reader is defined later"
This reverts commit f4cce71d96c4aab898ae074174d93802fcb0b1cc.
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: