From f4cce71d96c4aab898ae074174d93802fcb0b1cc Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sun, 15 Aug 2010 07:19:53 -0300 Subject: connection reader is defined later --- activerecord/lib/active_record/session_store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/session_store.rb b/activerecord/lib/active_record/session_store.rb index 1c4ecda5b5..5db2905c95 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_accessor :connection + cattr_writer :connection ## # :singleton-method: -- cgit v1.2.3