diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-12-01 05:37:56 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-12-01 05:37:56 +0000 |
commit | e8eb743ba679ccfe13e3cd15f140b539f1562340 (patch) | |
tree | 01fcd9d77f83859addec3c929f2227b0a08f775b /activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | |
parent | 9040f406820a9cd2d6a016fd2a7965d21445bbec (diff) | |
download | rails-e8eb743ba679ccfe13e3cd15f140b539f1562340.tar.gz rails-e8eb743ba679ccfe13e3cd15f140b539f1562340.tar.bz2 rails-e8eb743ba679ccfe13e3cd15f140b539f1562340.zip |
Replace the elaborate reloading connection checking scheme, just fix the Ruby-based MySQL adapter, ye?
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract_adapter.rb')
-rwxr-xr-x | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 07e3182761..949b8f7951 100755 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -79,12 +79,6 @@ module ActiveRecord @active = false end - # Returns true if its safe to reload the connection between requests for development mode. - # This is not the case for Ruby/MySQL and it's not necessary for any adapters except SQLite. - def supports_reloading? - false - end - # Lazily verify this connection, calling +active?+ only if it hasn't # been called for +timeout+ seconds. def verify!(timeout) |