diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-02-20 19:51:47 -0200 |
---|---|---|
committer | Yehuda Katz <yehudakatz@YK.local> | 2010-02-22 14:07:44 -0800 |
commit | ca92e92ba18132dcfd57cf30a8492c6fea1c113a (patch) | |
tree | fb36629699992327ed5282c5ee6a66f0502ca59f /activerecord/lib/active_record/connection_adapters | |
parent | 35e0975af8b6b50b16de4d0bf96559f46b1d1155 (diff) | |
download | rails-ca92e92ba18132dcfd57cf30a8492c6fea1c113a.tar.gz rails-ca92e92ba18132dcfd57cf30a8492c6fea1c113a.tar.bz2 rails-ca92e92ba18132dcfd57cf30a8492c6fea1c113a.zip |
avoid active not initialized warning
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rwxr-xr-x | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 7e80347f75..6ffffc8654 100755 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -37,6 +37,7 @@ module ActiveRecord @@row_even = true def initialize(connection, logger = nil) #:nodoc: + @active = nil @connection, @logger = connection, logger @runtime = 0 @query_cache_enabled = false |