aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-02-20 21:21:41 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-02-20 21:21:41 +0000
commit101968f3674dfedb0549a54bf6407c287d357f0a (patch)
treef619811941d11d5b59db39f4d4152759eeacb4a7 /activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
parent8322ea45c1087325fd428a201749791550bc7859 (diff)
downloadrails-101968f3674dfedb0549a54bf6407c287d357f0a.tar.gz
rails-101968f3674dfedb0549a54bf6407c287d357f0a.tar.bz2
rails-101968f3674dfedb0549a54bf6407c287d357f0a.zip
Added automatic dropping/creating of test tables for running the unit tests on all databases #587 [adelle@bullet.net.au]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract_adapter.rb')
-rwxr-xr-xactiverecord/lib/active_record/connection_adapters/abstract_adapter.rb5
1 files changed, 5 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 6a9ca8fcf1..5d2c764afe 100755
--- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
@@ -356,6 +356,11 @@ module ActiveRecord
name
end
+ # Returns the human-readable name of the adapter. Use mixed case - one can always use downcase if needed.
+ def adapter_name()
+ 'Abstract'
+ end
+
# Returns a string of the CREATE TABLE SQL statements for recreating the entire structure of the database.
def structure_dump() end